@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateAccessPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
AssociateAccessPolicyResult() |
Modifier and Type | Method and Description |
---|---|
AssociateAccessPolicyResult |
clone() |
boolean |
equals(Object obj) |
AssociatedAccessPolicy |
getAssociatedAccessPolicy()
The
AccessPolicy and scope associated to the AccessEntry . |
String |
getClusterName()
The name of your cluster.
|
String |
getPrincipalArn()
The ARN of the IAM principal for the
AccessEntry . |
int |
hashCode() |
void |
setAssociatedAccessPolicy(AssociatedAccessPolicy associatedAccessPolicy)
The
AccessPolicy and scope associated to the AccessEntry . |
void |
setClusterName(String clusterName)
The name of your cluster.
|
void |
setPrincipalArn(String principalArn)
The ARN of the IAM principal for the
AccessEntry . |
String |
toString()
Returns a string representation of this object.
|
AssociateAccessPolicyResult |
withAssociatedAccessPolicy(AssociatedAccessPolicy associatedAccessPolicy)
The
AccessPolicy and scope associated to the AccessEntry . |
AssociateAccessPolicyResult |
withClusterName(String clusterName)
The name of your cluster.
|
AssociateAccessPolicyResult |
withPrincipalArn(String principalArn)
The ARN of the IAM principal for the
AccessEntry . |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setClusterName(String clusterName)
The name of your cluster.
clusterName
- The name of your cluster.public String getClusterName()
The name of your cluster.
public AssociateAccessPolicyResult withClusterName(String clusterName)
The name of your cluster.
clusterName
- The name of your cluster.public void setPrincipalArn(String principalArn)
The ARN of the IAM principal for the AccessEntry
.
principalArn
- The ARN of the IAM principal for the AccessEntry
.public String getPrincipalArn()
The ARN of the IAM principal for the AccessEntry
.
AccessEntry
.public AssociateAccessPolicyResult withPrincipalArn(String principalArn)
The ARN of the IAM principal for the AccessEntry
.
principalArn
- The ARN of the IAM principal for the AccessEntry
.public void setAssociatedAccessPolicy(AssociatedAccessPolicy associatedAccessPolicy)
The AccessPolicy
and scope associated to the AccessEntry
.
associatedAccessPolicy
- The AccessPolicy
and scope associated to the AccessEntry
.public AssociatedAccessPolicy getAssociatedAccessPolicy()
The AccessPolicy
and scope associated to the AccessEntry
.
AccessPolicy
and scope associated to the AccessEntry
.public AssociateAccessPolicyResult withAssociatedAccessPolicy(AssociatedAccessPolicy associatedAccessPolicy)
The AccessPolicy
and scope associated to the AccessEntry
.
associatedAccessPolicy
- The AccessPolicy
and scope associated to the AccessEntry
.public String toString()
toString
in class Object
Object.toString()
public AssociateAccessPolicyResult clone()