@Generated(value="software.amazon.awssdk:codegen") public final class TemplateLinkedPolicyDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TemplateLinkedPolicyDefinition.Builder,TemplateLinkedPolicyDefinition>
Contains information about a policy created by instantiating a policy template.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TemplateLinkedPolicyDefinition.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TemplateLinkedPolicyDefinition.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 TemplateLinkedPolicyDefinition.Builder> |
serializableBuilderClass() |
TemplateLinkedPolicyDefinition.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 TemplateLinkedPolicyDefinition.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TemplateLinkedPolicyDefinition.Builder,TemplateLinkedPolicyDefinition>public static TemplateLinkedPolicyDefinition.Builder builder()
public static Class<? extends TemplateLinkedPolicyDefinition.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.