@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuthorizedPrincipal extends Object implements Serializable, Cloneable, StructuredPojo
Information about an Amazon Web Services account or service that has access to an Amazon OpenSearch Service domain through the use of an interface VPC endpoint.
| Constructor and Description |
|---|
AuthorizedPrincipal() |
| Modifier and Type | Method and Description |
|---|---|
AuthorizedPrincipal |
clone() |
boolean |
equals(Object obj) |
String |
getPrincipal()
The IAM
principal that is allowed access to the domain.
|
String |
getPrincipalType()
The type of principal.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setPrincipal(String principal)
The IAM
principal that is allowed access to the domain.
|
void |
setPrincipalType(String principalType)
The type of principal.
|
String |
toString()
Returns a string representation of this object.
|
AuthorizedPrincipal |
withPrincipal(String principal)
The IAM
principal that is allowed access to the domain.
|
AuthorizedPrincipal |
withPrincipalType(PrincipalType principalType)
The type of principal.
|
AuthorizedPrincipal |
withPrincipalType(String principalType)
The type of principal.
|
public void setPrincipalType(String principalType)
The type of principal.
principalType - The type of principal.PrincipalTypepublic String getPrincipalType()
The type of principal.
PrincipalTypepublic AuthorizedPrincipal withPrincipalType(String principalType)
The type of principal.
principalType - The type of principal.PrincipalTypepublic AuthorizedPrincipal withPrincipalType(PrincipalType principalType)
The type of principal.
principalType - The type of principal.PrincipalTypepublic void setPrincipal(String principal)
The IAM principal that is allowed access to the domain.
principal - The IAM
principal that is allowed access to the domain.public String getPrincipal()
The IAM principal that is allowed access to the domain.
public AuthorizedPrincipal withPrincipal(String principal)
The IAM principal that is allowed access to the domain.
principal - The IAM
principal that is allowed access to the domain.public String toString()
toString in class ObjectObject.toString()public AuthorizedPrincipal clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.