@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicyTypeSummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a policy type and its status in the associated root.
| Constructor and Description |
|---|
PolicyTypeSummary() |
| Modifier and Type | Method and Description |
|---|---|
PolicyTypeSummary |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
The status of the policy type as it relates to the associated root.
|
String |
getType()
The name of the policy type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setStatus(PolicyTypeStatus status)
The status of the policy type as it relates to the associated root.
|
void |
setStatus(String status)
The status of the policy type as it relates to the associated root.
|
void |
setType(PolicyType type)
The name of the policy type.
|
void |
setType(String type)
The name of the policy type.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PolicyTypeSummary |
withStatus(PolicyTypeStatus status)
The status of the policy type as it relates to the associated root.
|
PolicyTypeSummary |
withStatus(String status)
The status of the policy type as it relates to the associated root.
|
PolicyTypeSummary |
withType(PolicyType type)
The name of the policy type.
|
PolicyTypeSummary |
withType(String type)
The name of the policy type.
|
public void setType(String type)
The name of the policy type.
type - The name of the policy type.PolicyTypepublic String getType()
The name of the policy type.
PolicyTypepublic PolicyTypeSummary withType(String type)
The name of the policy type.
type - The name of the policy type.PolicyTypepublic void setType(PolicyType type)
The name of the policy type.
type - The name of the policy type.PolicyTypepublic PolicyTypeSummary withType(PolicyType type)
The name of the policy type.
type - The name of the policy type.PolicyTypepublic void setStatus(String status)
The status of the policy type as it relates to the associated root. To attach a policy of the specified type to a root or to an OU or account in that root, it must be available in the organization and enabled for that root.
status - The status of the policy type as it relates to the associated root. To attach a policy of the specified
type to a root or to an OU or account in that root, it must be available in the organization and enabled
for that root.PolicyTypeStatuspublic String getStatus()
The status of the policy type as it relates to the associated root. To attach a policy of the specified type to a root or to an OU or account in that root, it must be available in the organization and enabled for that root.
PolicyTypeStatuspublic PolicyTypeSummary withStatus(String status)
The status of the policy type as it relates to the associated root. To attach a policy of the specified type to a root or to an OU or account in that root, it must be available in the organization and enabled for that root.
status - The status of the policy type as it relates to the associated root. To attach a policy of the specified
type to a root or to an OU or account in that root, it must be available in the organization and enabled
for that root.PolicyTypeStatuspublic void setStatus(PolicyTypeStatus status)
The status of the policy type as it relates to the associated root. To attach a policy of the specified type to a root or to an OU or account in that root, it must be available in the organization and enabled for that root.
status - The status of the policy type as it relates to the associated root. To attach a policy of the specified
type to a root or to an OU or account in that root, it must be available in the organization and enabled
for that root.PolicyTypeStatuspublic PolicyTypeSummary withStatus(PolicyTypeStatus status)
The status of the policy type as it relates to the associated root. To attach a policy of the specified type to a root or to an OU or account in that root, it must be available in the organization and enabled for that root.
status - The status of the policy type as it relates to the associated root. To attach a policy of the specified
type to a root or to an OU or account in that root, it must be available in the organization and enabled
for that root.PolicyTypeStatuspublic String toString()
toString in class ObjectObject.toString()public PolicyTypeSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.