Class GluePolicy
- java.lang.Object
-
- software.amazon.awssdk.services.glue.model.GluePolicy
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GluePolicy.Builder,GluePolicy>
@Generated("software.amazon.awssdk:codegen") public final class GluePolicy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GluePolicy.Builder,GluePolicy>
A structure for returning a resource policy.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGluePolicy.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GluePolicy.Builderbuilder()InstantcreateTime()The date and time at which the policy was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringpolicyHash()Contains the hash value associated with this policy.StringpolicyInJson()Contains the requested policy document, in JSON format.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GluePolicy.Builder>serializableBuilderClass()GluePolicy.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdateTime()The date and time at which the policy was last updated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
policyInJson
public final String policyInJson()
Contains the requested policy document, in JSON format.
- Returns:
- Contains the requested policy document, in JSON format.
-
policyHash
public final String policyHash()
Contains the hash value associated with this policy.
- Returns:
- Contains the hash value associated with this policy.
-
createTime
public final Instant createTime()
The date and time at which the policy was created.
- Returns:
- The date and time at which the policy was created.
-
updateTime
public final Instant updateTime()
The date and time at which the policy was last updated.
- Returns:
- The date and time at which the policy was last updated.
-
toBuilder
public GluePolicy.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GluePolicy.Builder,GluePolicy>
-
builder
public static GluePolicy.Builder builder()
-
serializableBuilderClass
public static Class<? extends GluePolicy.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-