public class PolicyVersionIdentifier extends Object implements Serializable
Information about the version of the policy associated with the resource.
| Constructor and Description |
|---|
PolicyVersionIdentifier() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getPolicyName()
The name of the policy.
|
String |
getPolicyVersionId()
The ID of the version of the policy associated with the resource.
|
int |
hashCode() |
void |
setPolicyName(String policyName)
The name of the policy.
|
void |
setPolicyVersionId(String policyVersionId)
The ID of the version of the policy associated with the resource.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PolicyVersionIdentifier |
withPolicyName(String policyName)
The name of the policy.
|
PolicyVersionIdentifier |
withPolicyVersionId(String policyVersionId)
The ID of the version of the policy associated with the resource.
|
public String getPolicyName()
The name of the policy.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
The name of the policy.
public void setPolicyName(String policyName)
The name of the policy.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
policyName - The name of the policy.
public PolicyVersionIdentifier withPolicyName(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 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(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(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 String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.