@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdatePolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdatePolicyResult() |
Modifier and Type | Method and Description |
---|---|
UpdatePolicyResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedDate()
The date and time that the policy was originally created.
|
Date |
getLastUpdatedDate()
The date and time that the policy was most recently updated.
|
String |
getPolicyId()
The ID of the policy that was updated.
|
String |
getPolicyStoreId()
The ID of the policy store that contains the policy that was updated.
|
String |
getPolicyType()
The type of the policy that was updated.
|
EntityIdentifier |
getPrincipal()
The principal specified in the policy's scope.
|
EntityIdentifier |
getResource()
The resource specified in the policy's scope.
|
int |
hashCode() |
void |
setCreatedDate(Date createdDate)
The date and time that the policy was originally created.
|
void |
setLastUpdatedDate(Date lastUpdatedDate)
The date and time that the policy was most recently updated.
|
void |
setPolicyId(String policyId)
The ID of the policy that was updated.
|
void |
setPolicyStoreId(String policyStoreId)
The ID of the policy store that contains the policy that was updated.
|
void |
setPolicyType(String policyType)
The type of the policy that was updated.
|
void |
setPrincipal(EntityIdentifier principal)
The principal specified in the policy's scope.
|
void |
setResource(EntityIdentifier resource)
The resource specified in the policy's scope.
|
String |
toString()
Returns a string representation of this object.
|
UpdatePolicyResult |
withCreatedDate(Date createdDate)
The date and time that the policy was originally created.
|
UpdatePolicyResult |
withLastUpdatedDate(Date lastUpdatedDate)
The date and time that the policy was most recently updated.
|
UpdatePolicyResult |
withPolicyId(String policyId)
The ID of the policy that was updated.
|
UpdatePolicyResult |
withPolicyStoreId(String policyStoreId)
The ID of the policy store that contains the policy that was updated.
|
UpdatePolicyResult |
withPolicyType(PolicyType policyType)
The type of the policy that was updated.
|
UpdatePolicyResult |
withPolicyType(String policyType)
The type of the policy that was updated.
|
UpdatePolicyResult |
withPrincipal(EntityIdentifier principal)
The principal specified in the policy's scope.
|
UpdatePolicyResult |
withResource(EntityIdentifier resource)
The resource specified in the policy's scope.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPolicyStoreId(String policyStoreId)
The ID of the policy store that contains the policy that was updated.
policyStoreId
- The ID of the policy store that contains the policy that was updated.public String getPolicyStoreId()
The ID of the policy store that contains the policy that was updated.
public UpdatePolicyResult withPolicyStoreId(String policyStoreId)
The ID of the policy store that contains the policy that was updated.
policyStoreId
- The ID of the policy store that contains the policy that was updated.public void setPolicyId(String policyId)
The ID of the policy that was updated.
policyId
- The ID of the policy that was updated.public String getPolicyId()
The ID of the policy that was updated.
public UpdatePolicyResult withPolicyId(String policyId)
The ID of the policy that was updated.
policyId
- The ID of the policy that was updated.public void setPolicyType(String policyType)
The type of the policy that was updated.
policyType
- The type of the policy that was updated.PolicyType
public String getPolicyType()
The type of the policy that was updated.
PolicyType
public UpdatePolicyResult withPolicyType(String policyType)
The type of the policy that was updated.
policyType
- The type of the policy that was updated.PolicyType
public UpdatePolicyResult withPolicyType(PolicyType policyType)
The type of the policy that was updated.
policyType
- The type of the policy that was updated.PolicyType
public void setPrincipal(EntityIdentifier principal)
The principal specified in the policy's scope. This element isn't included in the response when
Principal
isn't present in the policy content.
principal
- The principal specified in the policy's scope. This element isn't included in the response when
Principal
isn't present in the policy content.public EntityIdentifier getPrincipal()
The principal specified in the policy's scope. This element isn't included in the response when
Principal
isn't present in the policy content.
Principal
isn't present in the policy content.public UpdatePolicyResult withPrincipal(EntityIdentifier principal)
The principal specified in the policy's scope. This element isn't included in the response when
Principal
isn't present in the policy content.
principal
- The principal specified in the policy's scope. This element isn't included in the response when
Principal
isn't present in the policy content.public void setResource(EntityIdentifier resource)
The resource specified in the policy's scope. This element isn't included in the response when
Resource
isn't present in the policy content.
resource
- The resource specified in the policy's scope. This element isn't included in the response when
Resource
isn't present in the policy content.public EntityIdentifier getResource()
The resource specified in the policy's scope. This element isn't included in the response when
Resource
isn't present in the policy content.
Resource
isn't present in the policy content.public UpdatePolicyResult withResource(EntityIdentifier resource)
The resource specified in the policy's scope. This element isn't included in the response when
Resource
isn't present in the policy content.
resource
- The resource specified in the policy's scope. This element isn't included in the response when
Resource
isn't present in the policy content.public void setCreatedDate(Date createdDate)
The date and time that the policy was originally created.
createdDate
- The date and time that the policy was originally created.public Date getCreatedDate()
The date and time that the policy was originally created.
public UpdatePolicyResult withCreatedDate(Date createdDate)
The date and time that the policy was originally created.
createdDate
- The date and time that the policy was originally created.public void setLastUpdatedDate(Date lastUpdatedDate)
The date and time that the policy was most recently updated.
lastUpdatedDate
- The date and time that the policy was most recently updated.public Date getLastUpdatedDate()
The date and time that the policy was most recently updated.
public UpdatePolicyResult withLastUpdatedDate(Date lastUpdatedDate)
The date and time that the policy was most recently updated.
lastUpdatedDate
- The date and time that the policy was most recently updated.public String toString()
toString
in class Object
Object.toString()
public UpdatePolicyResult clone()