Class PutIdentityPolicyRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The identity to which the policy will apply.The text of the policy in JSON format.The name of the policy.int
hashCode()
void
setIdentity
(String identity) The identity to which the policy will apply.void
The text of the policy in JSON format.void
setPolicyName
(String policyName) The name of the policy.toString()
Returns a string representation of this object; useful for testing and debugging.withIdentity
(String identity) The identity to which the policy will apply.withPolicy
(String policy) The text of the policy in JSON format.withPolicyName
(String policyName) The name of the policy.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
PutIdentityPolicyRequest
public PutIdentityPolicyRequest()
-
-
Method Details
-
setIdentity
The identity to which the policy will apply. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples:
user@example.com
,example.com
,arn:aws:ses:us-east-1:123456789012:identity/example.com
.To successfully call this API, you must own the identity.
- Parameters:
identity
- The identity to which the policy will apply. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples:user@example.com
,example.com
,arn:aws:ses:us-east-1:123456789012:identity/example.com
.To successfully call this API, you must own the identity.
-
getIdentity
The identity to which the policy will apply. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples:
user@example.com
,example.com
,arn:aws:ses:us-east-1:123456789012:identity/example.com
.To successfully call this API, you must own the identity.
- Returns:
- The identity to which the policy will apply. You can specify an
identity by using its name or by using its Amazon Resource Name
(ARN). Examples:
user@example.com
,example.com
,arn:aws:ses:us-east-1:123456789012:identity/example.com
.To successfully call this API, you must own the identity.
-
withIdentity
The identity to which the policy will apply. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples:
user@example.com
,example.com
,arn:aws:ses:us-east-1:123456789012:identity/example.com
.To successfully call this API, you must own the identity.
- Parameters:
identity
- The identity to which the policy will apply. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples:user@example.com
,example.com
,arn:aws:ses:us-east-1:123456789012:identity/example.com
.To successfully call this API, you must own the identity.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPolicyName
The name of the policy.
The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.
- Parameters:
policyName
- The name of the policy.The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.
-
getPolicyName
The name of the policy.
The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.
- Returns:
- The name of the policy.
The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.
-
withPolicyName
The name of the policy.
The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.
- Parameters:
policyName
- The name of the policy.The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPolicy
The text of the policy in JSON format. The policy cannot exceed 4 KB.
For information about the syntax of sending authorization policies, see the Amazon SES Developer Guide.
- Parameters:
policy
- The text of the policy in JSON format. The policy cannot exceed 4 KB.For information about the syntax of sending authorization policies, see the Amazon SES Developer Guide.
-
getPolicy
The text of the policy in JSON format. The policy cannot exceed 4 KB.
For information about the syntax of sending authorization policies, see the Amazon SES Developer Guide.
- Returns:
- The text of the policy in JSON format. The policy cannot exceed 4
KB.
For information about the syntax of sending authorization policies, see the Amazon SES Developer Guide.
-
withPolicy
The text of the policy in JSON format. The policy cannot exceed 4 KB.
For information about the syntax of sending authorization policies, see the Amazon SES Developer Guide.
- Parameters:
policy
- The text of the policy in JSON format. The policy cannot exceed 4 KB.For information about the syntax of sending authorization policies, see the Amazon SES Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-