@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSDomainInformation extends Object implements Serializable, Cloneable, StructuredPojo
Information about an Amazon OpenSearch Service domain.
Constructor and Description |
---|
AWSDomainInformation() |
Modifier and Type | Method and Description |
---|---|
AWSDomainInformation |
clone() |
boolean |
equals(Object obj) |
String |
getDomainName()
Name of the domain.
|
String |
getOwnerId()
The Amazon Web Services account ID of the domain owner.
|
String |
getRegion()
The Amazon Web Services Region in which the domain is located.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDomainName(String domainName)
Name of the domain.
|
void |
setOwnerId(String ownerId)
The Amazon Web Services account ID of the domain owner.
|
void |
setRegion(String region)
The Amazon Web Services Region in which the domain is located.
|
String |
toString()
Returns a string representation of this object.
|
AWSDomainInformation |
withDomainName(String domainName)
Name of the domain.
|
AWSDomainInformation |
withOwnerId(String ownerId)
The Amazon Web Services account ID of the domain owner.
|
AWSDomainInformation |
withRegion(String region)
The Amazon Web Services Region in which the domain is located.
|
public void setOwnerId(String ownerId)
The Amazon Web Services account ID of the domain owner.
ownerId
- The Amazon Web Services account ID of the domain owner.public String getOwnerId()
The Amazon Web Services account ID of the domain owner.
public AWSDomainInformation withOwnerId(String ownerId)
The Amazon Web Services account ID of the domain owner.
ownerId
- The Amazon Web Services account ID of the domain owner.public void setDomainName(String domainName)
Name of the domain.
domainName
- Name of the domain.public String getDomainName()
Name of the domain.
public AWSDomainInformation withDomainName(String domainName)
Name of the domain.
domainName
- Name of the domain.public void setRegion(String region)
The Amazon Web Services Region in which the domain is located.
region
- The Amazon Web Services Region in which the domain is located.public String getRegion()
The Amazon Web Services Region in which the domain is located.
public AWSDomainInformation withRegion(String region)
The Amazon Web Services Region in which the domain is located.
region
- The Amazon Web Services Region in which the domain is located.public String toString()
toString
in class Object
Object.toString()
public AWSDomainInformation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.