@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsIamPolicyVersion extends Object implements Serializable, Cloneable, StructuredPojo
A version of an IAM policy.
| Constructor and Description |
|---|
AwsIamPolicyVersion() |
| Modifier and Type | Method and Description |
|---|---|
AwsIamPolicyVersion |
clone() |
boolean |
equals(Object obj) |
String |
getCreateDate()
Indicates when the version was created.
|
Boolean |
getIsDefaultVersion()
Whether the version is the default version.
|
String |
getVersionId()
The identifier of the policy version.
|
int |
hashCode() |
Boolean |
isDefaultVersion()
Whether the version is the default version.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCreateDate(String createDate)
Indicates when the version was created.
|
void |
setIsDefaultVersion(Boolean isDefaultVersion)
Whether the version is the default version.
|
void |
setVersionId(String versionId)
The identifier of the policy version.
|
String |
toString()
Returns a string representation of this object.
|
AwsIamPolicyVersion |
withCreateDate(String createDate)
Indicates when the version was created.
|
AwsIamPolicyVersion |
withIsDefaultVersion(Boolean isDefaultVersion)
Whether the version is the default version.
|
AwsIamPolicyVersion |
withVersionId(String versionId)
The identifier of the policy version.
|
public void setVersionId(String versionId)
The identifier of the policy version.
versionId - The identifier of the policy version.public String getVersionId()
The identifier of the policy version.
public AwsIamPolicyVersion withVersionId(String versionId)
The identifier of the policy version.
versionId - The identifier of the policy version.public void setIsDefaultVersion(Boolean isDefaultVersion)
Whether the version is the default version.
isDefaultVersion - Whether the version is the default version.public Boolean getIsDefaultVersion()
Whether the version is the default version.
public AwsIamPolicyVersion withIsDefaultVersion(Boolean isDefaultVersion)
Whether the version is the default version.
isDefaultVersion - Whether the version is the default version.public Boolean isDefaultVersion()
Whether the version is the default version.
public void setCreateDate(String createDate)
Indicates when the version was created.
Uses the date-time format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z.
createDate - Indicates when the version was created.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.
public String getCreateDate()
Indicates when the version was created.
Uses the date-time format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.
public AwsIamPolicyVersion withCreateDate(String createDate)
Indicates when the version was created.
Uses the date-time format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z.
createDate - Indicates when the version was created.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.
public String toString()
toString in class ObjectObject.toString()public AwsIamPolicyVersion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.