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 interface
AuthorizedPrincipal.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
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,
principalType
will 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,
principalType
will 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:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-