@Generated(value="software.amazon.awssdk:codegen") public final class AllowedPrincipal extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AllowedPrincipal.Builder,AllowedPrincipal>
Describes a principal.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AllowedPrincipal.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AllowedPrincipal.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
principal()
The Amazon Resource Name (ARN) of the principal.
|
PrincipalType |
principalType()
The type of principal.
|
String |
principalTypeAsString()
The type of principal.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AllowedPrincipal.Builder> |
serializableBuilderClass() |
AllowedPrincipal.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 Amazon Resource Name (ARN) of the principal.
public AllowedPrincipal.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AllowedPrincipal.Builder,AllowedPrincipal>public static AllowedPrincipal.Builder builder()
public static Class<? extends AllowedPrincipal.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.