@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicyDefinitionDetail extends Object implements Serializable, Cloneable, StructuredPojo
A structure that describes a policy definition. It must always have either an static
or a
templateLinked
element.
This data type is used as a response parameter for the GetPolicy operation.
Constructor and Description |
---|
PolicyDefinitionDetail() |
Modifier and Type | Method and Description |
---|---|
PolicyDefinitionDetail |
clone() |
boolean |
equals(Object obj) |
StaticPolicyDefinitionDetail |
getStatic()
Information about a static policy that wasn't created with a policy template.
|
TemplateLinkedPolicyDefinitionDetail |
getTemplateLinked()
Information about a template-linked policy that was created by instantiating a policy template.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setStatic(StaticPolicyDefinitionDetail staticValue)
Information about a static policy that wasn't created with a policy template.
|
void |
setTemplateLinked(TemplateLinkedPolicyDefinitionDetail templateLinked)
Information about a template-linked policy that was created by instantiating a policy template.
|
String |
toString()
Returns a string representation of this object.
|
PolicyDefinitionDetail |
withStatic(StaticPolicyDefinitionDetail staticValue)
Information about a static policy that wasn't created with a policy template.
|
PolicyDefinitionDetail |
withTemplateLinked(TemplateLinkedPolicyDefinitionDetail templateLinked)
Information about a template-linked policy that was created by instantiating a policy template.
|
public void setStatic(StaticPolicyDefinitionDetail staticValue)
Information about a static policy that wasn't created with a policy template.
staticValue
- Information about a static policy that wasn't created with a policy template.public StaticPolicyDefinitionDetail getStatic()
Information about a static policy that wasn't created with a policy template.
public PolicyDefinitionDetail withStatic(StaticPolicyDefinitionDetail staticValue)
Information about a static policy that wasn't created with a policy template.
staticValue
- Information about a static policy that wasn't created with a policy template.public void setTemplateLinked(TemplateLinkedPolicyDefinitionDetail templateLinked)
Information about a template-linked policy that was created by instantiating a policy template.
templateLinked
- Information about a template-linked policy that was created by instantiating a policy template.public TemplateLinkedPolicyDefinitionDetail getTemplateLinked()
Information about a template-linked policy that was created by instantiating a policy template.
public PolicyDefinitionDetail withTemplateLinked(TemplateLinkedPolicyDefinitionDetail templateLinked)
Information about a template-linked policy that was created by instantiating a policy template.
templateLinked
- Information about a template-linked policy that was created by instantiating a policy template.public String toString()
toString
in class Object
Object.toString()
public PolicyDefinitionDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.