@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GeneratedPolicyResult extends Object implements Serializable, Cloneable, StructuredPojo
Contains the text for the generated policy and its details.
| Constructor and Description |
|---|
GeneratedPolicyResult() |
| Modifier and Type | Method and Description |
|---|---|
GeneratedPolicyResult |
clone() |
boolean |
equals(Object obj) |
List<GeneratedPolicy> |
getGeneratedPolicies()
The text to use as the content for the new policy.
|
GeneratedPolicyProperties |
getProperties()
A
GeneratedPolicyProperties object that contains properties of the generated policy. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setGeneratedPolicies(Collection<GeneratedPolicy> generatedPolicies)
The text to use as the content for the new policy.
|
void |
setProperties(GeneratedPolicyProperties properties)
A
GeneratedPolicyProperties object that contains properties of the generated policy. |
String |
toString()
Returns a string representation of this object.
|
GeneratedPolicyResult |
withGeneratedPolicies(Collection<GeneratedPolicy> generatedPolicies)
The text to use as the content for the new policy.
|
GeneratedPolicyResult |
withGeneratedPolicies(GeneratedPolicy... generatedPolicies)
The text to use as the content for the new policy.
|
GeneratedPolicyResult |
withProperties(GeneratedPolicyProperties properties)
A
GeneratedPolicyProperties object that contains properties of the generated policy. |
public void setProperties(GeneratedPolicyProperties properties)
A GeneratedPolicyProperties object that contains properties of the generated policy.
properties - A GeneratedPolicyProperties object that contains properties of the generated policy.public GeneratedPolicyProperties getProperties()
A GeneratedPolicyProperties object that contains properties of the generated policy.
GeneratedPolicyProperties object that contains properties of the generated policy.public GeneratedPolicyResult withProperties(GeneratedPolicyProperties properties)
A GeneratedPolicyProperties object that contains properties of the generated policy.
properties - A GeneratedPolicyProperties object that contains properties of the generated policy.public List<GeneratedPolicy> getGeneratedPolicies()
The text to use as the content for the new policy. The policy is created using the CreatePolicy action.
public void setGeneratedPolicies(Collection<GeneratedPolicy> generatedPolicies)
The text to use as the content for the new policy. The policy is created using the CreatePolicy action.
generatedPolicies - The text to use as the content for the new policy. The policy is created using the CreatePolicy action.public GeneratedPolicyResult withGeneratedPolicies(GeneratedPolicy... generatedPolicies)
The text to use as the content for the new policy. The policy is created using the CreatePolicy action.
NOTE: This method appends the values to the existing list (if any). Use
setGeneratedPolicies(java.util.Collection) or withGeneratedPolicies(java.util.Collection) if
you want to override the existing values.
generatedPolicies - The text to use as the content for the new policy. The policy is created using the CreatePolicy action.public GeneratedPolicyResult withGeneratedPolicies(Collection<GeneratedPolicy> generatedPolicies)
The text to use as the content for the new policy. The policy is created using the CreatePolicy action.
generatedPolicies - The text to use as the content for the new policy. The policy is created using the CreatePolicy action.public String toString()
toString in class ObjectObject.toString()public GeneratedPolicyResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.