@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GluePolicy extends Object implements Serializable, Cloneable, StructuredPojo
A structure for returning a resource policy.
Constructor and Description |
---|
GluePolicy() |
Modifier and Type | Method and Description |
---|---|
GluePolicy |
clone() |
boolean |
equals(Object obj) |
Date |
getCreateTime()
The date and time at which the policy was created.
|
String |
getPolicyHash()
Contains the hash value associated with this policy.
|
String |
getPolicyInJson()
Contains the requested policy document, in JSON format.
|
Date |
getUpdateTime()
The date and time at which the policy was last updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreateTime(Date createTime)
The date and time at which the policy was created.
|
void |
setPolicyHash(String policyHash)
Contains the hash value associated with this policy.
|
void |
setPolicyInJson(String policyInJson)
Contains the requested policy document, in JSON format.
|
void |
setUpdateTime(Date updateTime)
The date and time at which the policy was last updated.
|
String |
toString()
Returns a string representation of this object.
|
GluePolicy |
withCreateTime(Date createTime)
The date and time at which the policy was created.
|
GluePolicy |
withPolicyHash(String policyHash)
Contains the hash value associated with this policy.
|
GluePolicy |
withPolicyInJson(String policyInJson)
Contains the requested policy document, in JSON format.
|
GluePolicy |
withUpdateTime(Date updateTime)
The date and time at which the policy was last updated.
|
public void setPolicyInJson(String policyInJson)
Contains the requested policy document, in JSON format.
policyInJson
- Contains the requested policy document, in JSON format.public String getPolicyInJson()
Contains the requested policy document, in JSON format.
public GluePolicy withPolicyInJson(String policyInJson)
Contains the requested policy document, in JSON format.
policyInJson
- Contains the requested policy document, in JSON format.public void setPolicyHash(String policyHash)
Contains the hash value associated with this policy.
policyHash
- Contains the hash value associated with this policy.public String getPolicyHash()
Contains the hash value associated with this policy.
public GluePolicy withPolicyHash(String policyHash)
Contains the hash value associated with this policy.
policyHash
- Contains the hash value associated with this policy.public void setCreateTime(Date createTime)
The date and time at which the policy was created.
createTime
- The date and time at which the policy was created.public Date getCreateTime()
The date and time at which the policy was created.
public GluePolicy withCreateTime(Date createTime)
The date and time at which the policy was created.
createTime
- The date and time at which the policy was created.public void setUpdateTime(Date updateTime)
The date and time at which the policy was last updated.
updateTime
- The date and time at which the policy was last updated.public Date getUpdateTime()
The date and time at which the policy was last updated.
public GluePolicy withUpdateTime(Date updateTime)
The date and time at which the policy was last updated.
updateTime
- The date and time at which the policy was last updated.public String toString()
toString
in class Object
Object.toString()
public GluePolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.