Class AuthorizedPrincipal
- java.lang.Object
-
- software.amazon.awssdk.services.opensearch.model.AuthorizedPrincipal
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AuthorizedPrincipal.Builder,AuthorizedPrincipal>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAuthorizedPrincipal.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuthorizedPrincipal.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringprincipal()The IAM principal that is allowed access to the domain.PrincipalTypeprincipalType()The type of principal.StringprincipalTypeAsString()The type of principal.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AuthorizedPrincipal.Builder>serializableBuilderClass()AuthorizedPrincipal.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
principalType
public final PrincipalType principalType()
The type of principal.
If the service returns an enum value that is not available in the current SDK version,
principalTypewill returnPrincipalType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprincipalTypeAsString().- Returns:
- The type of principal.
- See Also:
PrincipalType
-
principalTypeAsString
public final String principalTypeAsString()
The type of principal.
If the service returns an enum value that is not available in the current SDK version,
principalTypewill returnPrincipalType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromprincipalTypeAsString().- Returns:
- The type of principal.
- See Also:
PrincipalType
-
principal
public final String principal()
The IAM principal that is allowed access to the domain.
- Returns:
- The IAM principal that is allowed access to the domain.
-
toBuilder
public AuthorizedPrincipal.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AuthorizedPrincipal.Builder,AuthorizedPrincipal>
-
builder
public static AuthorizedPrincipal.Builder builder()
-
serializableBuilderClass
public static Class<? extends AuthorizedPrincipal.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-