public class PolicyVersionIdentifier
extends java.lang.Object
implements java.io.Serializable
Information about the version of the policy associated with the resource.
| Constructor and Description |
|---|
PolicyVersionIdentifier() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getPolicyName()
The name of the policy.
|
java.lang.String |
getPolicyVersionId()
The ID of the version of the policy associated with the resource.
|
int |
hashCode() |
void |
setPolicyName(java.lang.String policyName)
The name of the policy.
|
void |
setPolicyVersionId(java.lang.String policyVersionId)
The ID of the version of the policy associated with the resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PolicyVersionIdentifier |
withPolicyName(java.lang.String policyName)
The name of the policy.
|
PolicyVersionIdentifier |
withPolicyVersionId(java.lang.String policyVersionId)
The ID of the version of the policy associated with the resource.
|
public java.lang.String getPolicyName()
The name of the policy.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
The name of the policy.
public void setPolicyName(java.lang.String policyName)
The name of the policy.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
policyName - The name of the policy.
public PolicyVersionIdentifier withPolicyName(java.lang.String policyName)
The name of the policy.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
policyName - The name of the policy.
public java.lang.String getPolicyVersionId()
The ID of the version of the policy associated with the resource.
Constraints:
Pattern: [0-9]+
The ID of the version of the policy associated with the resource.
public void setPolicyVersionId(java.lang.String policyVersionId)
The ID of the version of the policy associated with the resource.
Constraints:
Pattern: [0-9]+
policyVersionId - The ID of the version of the policy associated with the resource.
public PolicyVersionIdentifier withPolicyVersionId(java.lang.String policyVersionId)
The ID of the version of the policy associated with the resource.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [0-9]+
policyVersionId - The ID of the version of the policy associated with the resource.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.