@Generated(value="software.amazon.awssdk:codegen") public final class Principal extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Principal.Builder,Principal>
The IAM principal that you allowing or denying access to an Amazon Lex action. You must provide a
service or an arn, but not both in the same statement. For more information, see AWS JSON policy
elements: Principal .
| Modifier and Type | Class and Description |
|---|---|
static interface |
Principal.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the principal.
|
static Principal.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Principal.Builder> |
serializableBuilderClass() |
String |
service()
The name of the AWS service that should allowed or denied access to an Amazon Lex action.
|
Principal.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String service()
The name of the AWS service that should allowed or denied access to an Amazon Lex action.
public final String arn()
The Amazon Resource Name (ARN) of the principal.
public Principal.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Principal.Builder,Principal>public static Principal.Builder builder()
public static Class<? extends Principal.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.