@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TemplateLinkedPolicyDefinitionItem extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a policy created by instantiating a policy template.
This
Constructor and Description |
---|
TemplateLinkedPolicyDefinitionItem() |
Modifier and Type | Method and Description |
---|---|
TemplateLinkedPolicyDefinitionItem |
clone() |
boolean |
equals(Object obj) |
String |
getPolicyTemplateId()
The unique identifier of the policy template used to create this policy.
|
EntityIdentifier |
getPrincipal()
The principal associated with this template-linked policy.
|
EntityIdentifier |
getResource()
The resource associated with this template-linked policy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPolicyTemplateId(String policyTemplateId)
The unique identifier of the policy template used to create this policy.
|
void |
setPrincipal(EntityIdentifier principal)
The principal associated with this template-linked policy.
|
void |
setResource(EntityIdentifier resource)
The resource associated with this template-linked policy.
|
String |
toString()
Returns a string representation of this object.
|
TemplateLinkedPolicyDefinitionItem |
withPolicyTemplateId(String policyTemplateId)
The unique identifier of the policy template used to create this policy.
|
TemplateLinkedPolicyDefinitionItem |
withPrincipal(EntityIdentifier principal)
The principal associated with this template-linked policy.
|
TemplateLinkedPolicyDefinitionItem |
withResource(EntityIdentifier resource)
The resource associated with this template-linked policy.
|
public void setPolicyTemplateId(String policyTemplateId)
The unique identifier of the policy template used to create this policy.
policyTemplateId
- The unique identifier of the policy template used to create this policy.public String getPolicyTemplateId()
The unique identifier of the policy template used to create this policy.
public TemplateLinkedPolicyDefinitionItem withPolicyTemplateId(String policyTemplateId)
The unique identifier of the policy template used to create this policy.
policyTemplateId
- The unique identifier of the policy template used to create this policy.public void setPrincipal(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
- 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.public EntityIdentifier getPrincipal()
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 TemplateLinkedPolicyDefinitionItem withPrincipal(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
- 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.public void setResource(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
- 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.public EntityIdentifier getResource()
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 withResource(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
- 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.public String toString()
toString
in class Object
Object.toString()
public TemplateLinkedPolicyDefinitionItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.