@Generated(value="software.amazon.awssdk:codegen") public final class AddedPrincipal extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AddedPrincipal.Builder,AddedPrincipal>
Describes a principal.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AddedPrincipal.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AddedPrincipal.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 AddedPrincipal.Builder> |
serializableBuilderClass() |
String |
serviceId()
The ID of the service.
|
String |
servicePermissionId()
The ID of the service permission.
|
AddedPrincipal.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 final String servicePermissionId()
The ID of the service permission.
public final String serviceId()
The ID of the service.
public AddedPrincipal.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AddedPrincipal.Builder,AddedPrincipal>public static AddedPrincipal.Builder builder()
public static Class<? extends AddedPrincipal.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.