@Generated(value="software.amazon.awssdk:codegen") public final class AuthorizedPrincipal extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AuthorizedPrincipal.Builder,AuthorizedPrincipal>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AuthorizedPrincipal.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AuthorizedPrincipal.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
principal()
The IAM
principal that is allowed access to the domain.
|
PrincipalType |
principalType()
The type of principal.
|
String |
principalTypeAsString()
The type of principal.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AuthorizedPrincipal.Builder> |
serializableBuilderClass() |
AuthorizedPrincipal.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final PrincipalType principalType()
The type of principal.
If the service returns an enum value that is not available in the current SDK version, principalType
will return PrincipalType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
principalTypeAsString().
PrincipalTypepublic final String principalTypeAsString()
The type of principal.
If the service returns an enum value that is not available in the current SDK version, principalType
will return PrincipalType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
principalTypeAsString().
PrincipalTypepublic final String principal()
The IAM principal that is allowed access to the domain.
public AuthorizedPrincipal.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AuthorizedPrincipal.Builder,AuthorizedPrincipal>public static AuthorizedPrincipal.Builder builder()
public static Class<? extends AuthorizedPrincipal.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.