Class AuthorizedPrincipal
- All Implemented Interfaces:
Serializable,SdkPojo,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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthorizedPrincipal.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe IAM principal that is allowed access to the domain.final PrincipalTypeThe type of principal.final StringThe type of principal.static Class<? extends AuthorizedPrincipal.Builder>final ServiceOptionsThe options for the service, including the supported Regions for the endpoint access.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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:
-
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:
-
principal
The IAM principal that is allowed access to the domain.
- Returns:
- The IAM principal that is allowed access to the domain.
-
serviceOptions
The options for the service, including the supported Regions for the endpoint access.
- Returns:
- The options for the service, including the supported Regions for the endpoint access.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<AuthorizedPrincipal.Builder,AuthorizedPrincipal>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-