@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)
Marshalls this structured data using the given
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.
|
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.PolicyType
public String getType()
The name of the policy type.
PolicyType
public PolicyTypeSummary withType(String type)
The name of the policy type.
type
- The name of the policy type.PolicyType
public void setType(PolicyType type)
The name of the policy type.
type
- The name of the policy type.PolicyType
public PolicyTypeSummary withType(PolicyType type)
The name of the policy type.
type
- The name of the policy type.PolicyType
public 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.PolicyTypeStatus
public 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.
PolicyTypeStatus
public 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.PolicyTypeStatus
public 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.PolicyTypeStatus
public 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.PolicyTypeStatus
public String toString()
toString
in class Object
Object.toString()
public PolicyTypeSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.