@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomerManagedPolicyReference extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the name and path of a customer managed policy. You must have an IAM policy that matches the name and path in each Amazon Web Services account where you want to deploy your permission set.
Constructor and Description |
---|
CustomerManagedPolicyReference() |
Modifier and Type | Method and Description |
---|---|
CustomerManagedPolicyReference |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the IAM policy that you have configured in each account where you want to deploy your permission set.
|
String |
getPath()
The path to the IAM policy that you have configured in each account where you want to deploy your permission set.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the IAM policy that you have configured in each account where you want to deploy your permission set.
|
void |
setPath(String path)
The path to the IAM policy that you have configured in each account where you want to deploy your permission set.
|
String |
toString()
Returns a string representation of this object.
|
CustomerManagedPolicyReference |
withName(String name)
The name of the IAM policy that you have configured in each account where you want to deploy your permission set.
|
CustomerManagedPolicyReference |
withPath(String path)
The path to the IAM policy that you have configured in each account where you want to deploy your permission set.
|
public void setName(String name)
The name of the IAM policy that you have configured in each account where you want to deploy your permission set.
name
- The name of the IAM policy that you have configured in each account where you want to deploy your
permission set.public String getName()
The name of the IAM policy that you have configured in each account where you want to deploy your permission set.
public CustomerManagedPolicyReference withName(String name)
The name of the IAM policy that you have configured in each account where you want to deploy your permission set.
name
- The name of the IAM policy that you have configured in each account where you want to deploy your
permission set.public void setPath(String path)
The path to the IAM policy that you have configured in each account where you want to deploy your permission set.
The default is /
. For more information, see Friendly names and paths in the IAM User Guide.
path
- The path to the IAM policy that you have configured in each account where you want to deploy your
permission set. The default is /
. For more information, see Friendly names and paths in the IAM User Guide.public String getPath()
The path to the IAM policy that you have configured in each account where you want to deploy your permission set.
The default is /
. For more information, see Friendly names and paths in the IAM User Guide.
/
. For more information, see Friendly names and paths in the IAM User Guide.public CustomerManagedPolicyReference withPath(String path)
The path to the IAM policy that you have configured in each account where you want to deploy your permission set.
The default is /
. For more information, see Friendly names and paths in the IAM User Guide.
path
- The path to the IAM policy that you have configured in each account where you want to deploy your
permission set. The default is /
. For more information, see Friendly names and paths in the IAM User Guide.public String toString()
toString
in class Object
Object.toString()
public CustomerManagedPolicyReference clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.