@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicyVersionIdentifier extends Object implements Serializable, Cloneable, StructuredPojo
Information about the version of the policy associated with the resource.
Constructor and Description |
---|
PolicyVersionIdentifier() |
Modifier and Type | Method and Description |
---|---|
PolicyVersionIdentifier |
clone() |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
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 void setPolicyName(String policyName)
The name of the policy.
policyName
- The name of the policy.public String getPolicyName()
The name of the policy.
public PolicyVersionIdentifier withPolicyName(String policyName)
The name of the policy.
policyName
- The name of the policy.public void setPolicyVersionId(String policyVersionId)
The ID of the version of the policy associated with the resource.
policyVersionId
- The ID of the version of the policy associated with the resource.public String getPolicyVersionId()
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.
policyVersionId
- The ID of the version of the policy associated with the resource.public String toString()
toString
in class Object
Object.toString()
public PolicyVersionIdentifier clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.