@Generated(value="software.amazon.awssdk:codegen") public final class TemplateLinkedPolicyDefinitionItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TemplateLinkedPolicyDefinitionItem.Builder,TemplateLinkedPolicyDefinitionItem>
Contains information about a policy created by instantiating a policy template.
This
| Modifier and Type | Class and Description |
|---|---|
static interface |
TemplateLinkedPolicyDefinitionItem.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TemplateLinkedPolicyDefinitionItem.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
policyTemplateId()
The unique identifier of the policy template used to create this policy.
|
EntityIdentifier |
principal()
The principal associated with this template-linked policy.
|
EntityIdentifier |
resource()
The resource associated with this template-linked policy.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TemplateLinkedPolicyDefinitionItem.Builder> |
serializableBuilderClass() |
TemplateLinkedPolicyDefinitionItem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String policyTemplateId()
The unique identifier of the policy template used to create this policy.
public final EntityIdentifier principal()
The principal associated with this template-linked policy. Verified Permissions substitutes this principal for
the ?principal placeholder in the policy template when it evaluates an authorization request.
?principal placeholder in the policy template when it evaluates an
authorization request.public final EntityIdentifier resource()
The resource associated with this template-linked policy. Verified Permissions substitutes this resource for the
?resource placeholder in the policy template when it evaluates an authorization request.
?resource placeholder in the policy template when it evaluates an authorization
request.public TemplateLinkedPolicyDefinitionItem.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TemplateLinkedPolicyDefinitionItem.Builder,TemplateLinkedPolicyDefinitionItem>public static TemplateLinkedPolicyDefinitionItem.Builder builder()
public static Class<? extends TemplateLinkedPolicyDefinitionItem.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.