@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ParameterInlinePolicy extends Object implements Serializable, Cloneable, StructuredPojo
One or more policies assigned to a parameter.
Constructor and Description |
---|
ParameterInlinePolicy() |
Modifier and Type | Method and Description |
---|---|
ParameterInlinePolicy |
clone() |
boolean |
equals(Object obj) |
String |
getPolicyStatus()
The status of the policy.
|
String |
getPolicyText()
The JSON text of the policy.
|
String |
getPolicyType()
The type of policy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPolicyStatus(String policyStatus)
The status of the policy.
|
void |
setPolicyText(String policyText)
The JSON text of the policy.
|
void |
setPolicyType(String policyType)
The type of policy.
|
String |
toString()
Returns a string representation of this object.
|
ParameterInlinePolicy |
withPolicyStatus(String policyStatus)
The status of the policy.
|
ParameterInlinePolicy |
withPolicyText(String policyText)
The JSON text of the policy.
|
ParameterInlinePolicy |
withPolicyType(String policyType)
The type of policy.
|
public void setPolicyText(String policyText)
The JSON text of the policy.
policyText
- The JSON text of the policy.public String getPolicyText()
The JSON text of the policy.
public ParameterInlinePolicy withPolicyText(String policyText)
The JSON text of the policy.
policyText
- The JSON text of the policy.public void setPolicyType(String policyType)
The type of policy. Parameter Store, a capability of Amazon Web Services Systems Manager, supports the following policy types: Expiration, ExpirationNotification, and NoChangeNotification.
policyType
- The type of policy. Parameter Store, a capability of Amazon Web Services Systems Manager, supports the
following policy types: Expiration, ExpirationNotification, and NoChangeNotification.public String getPolicyType()
The type of policy. Parameter Store, a capability of Amazon Web Services Systems Manager, supports the following policy types: Expiration, ExpirationNotification, and NoChangeNotification.
public ParameterInlinePolicy withPolicyType(String policyType)
The type of policy. Parameter Store, a capability of Amazon Web Services Systems Manager, supports the following policy types: Expiration, ExpirationNotification, and NoChangeNotification.
policyType
- The type of policy. Parameter Store, a capability of Amazon Web Services Systems Manager, supports the
following policy types: Expiration, ExpirationNotification, and NoChangeNotification.public void setPolicyStatus(String policyStatus)
The status of the policy. Policies report the following statuses: Pending (the policy hasn't been enforced or applied yet), Finished (the policy was applied), Failed (the policy wasn't applied), or InProgress (the policy is being applied now).
policyStatus
- The status of the policy. Policies report the following statuses: Pending (the policy hasn't been enforced
or applied yet), Finished (the policy was applied), Failed (the policy wasn't applied), or InProgress (the
policy is being applied now).public String getPolicyStatus()
The status of the policy. Policies report the following statuses: Pending (the policy hasn't been enforced or applied yet), Finished (the policy was applied), Failed (the policy wasn't applied), or InProgress (the policy is being applied now).
public ParameterInlinePolicy withPolicyStatus(String policyStatus)
The status of the policy. Policies report the following statuses: Pending (the policy hasn't been enforced or applied yet), Finished (the policy was applied), Failed (the policy wasn't applied), or InProgress (the policy is being applied now).
policyStatus
- The status of the policy. Policies report the following statuses: Pending (the policy hasn't been enforced
or applied yet), Finished (the policy was applied), Failed (the policy wasn't applied), or InProgress (the
policy is being applied now).public String toString()
toString
in class Object
Object.toString()
public ParameterInlinePolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.