@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAccessPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateAccessPolicyResult() |
Modifier and Type | Method and Description |
---|---|
CreateAccessPolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getAccessPolicyArn()
The ARN of the access
policy, which has the following format.
|
String |
getAccessPolicyId()
The ID of the access policy.
|
int |
hashCode() |
void |
setAccessPolicyArn(String accessPolicyArn)
The ARN of the access
policy, which has the following format.
|
void |
setAccessPolicyId(String accessPolicyId)
The ID of the access policy.
|
String |
toString()
Returns a string representation of this object.
|
CreateAccessPolicyResult |
withAccessPolicyArn(String accessPolicyArn)
The ARN of the access
policy, which has the following format.
|
CreateAccessPolicyResult |
withAccessPolicyId(String accessPolicyId)
The ID of the access policy.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAccessPolicyId(String accessPolicyId)
The ID of the access policy.
accessPolicyId
- The ID of the access policy.public String getAccessPolicyId()
The ID of the access policy.
public CreateAccessPolicyResult withAccessPolicyId(String accessPolicyId)
The ID of the access policy.
accessPolicyId
- The ID of the access policy.public void setAccessPolicyArn(String accessPolicyArn)
The ARN of the access policy, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:access-policy/${AccessPolicyId}
accessPolicyArn
- The ARN of the
access policy, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:access-policy/${AccessPolicyId}
public String getAccessPolicyArn()
The ARN of the access policy, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:access-policy/${AccessPolicyId}
arn:${Partition}:iotsitewise:${Region}:${Account}:access-policy/${AccessPolicyId}
public CreateAccessPolicyResult withAccessPolicyArn(String accessPolicyArn)
The ARN of the access policy, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:access-policy/${AccessPolicyId}
accessPolicyArn
- The ARN of the
access policy, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:access-policy/${AccessPolicyId}
public String toString()
toString
in class Object
Object.toString()
public CreateAccessPolicyResult clone()