Class AssociatedAccessPolicy
- java.lang.Object
-
- software.amazon.awssdk.services.eks.model.AssociatedAccessPolicy
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AssociatedAccessPolicy.Builder,AssociatedAccessPolicy>
@Generated("software.amazon.awssdk:codegen") public final class AssociatedAccessPolicy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AssociatedAccessPolicy.Builder,AssociatedAccessPolicy>
An access policy association.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAssociatedAccessPolicy.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessScopeaccessScope()The scope of the access policy.InstantassociatedAt()The date and time theAccessPolicywas associated with anAccessEntry.static AssociatedAccessPolicy.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantmodifiedAt()The Unix epoch timestamp for the last modification to the object.StringpolicyArn()The ARN of theAccessPolicy.List<SdkField<?>>sdkFields()static Class<? extends AssociatedAccessPolicy.Builder>serializableBuilderClass()AssociatedAccessPolicy.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
policyArn
public final String policyArn()
The ARN of the
AccessPolicy.- Returns:
- The ARN of the
AccessPolicy.
-
accessScope
public final AccessScope accessScope()
The scope of the access policy.
- Returns:
- The scope of the access policy.
-
associatedAt
public final Instant associatedAt()
The date and time the
AccessPolicywas associated with anAccessEntry.- Returns:
- The date and time the
AccessPolicywas associated with anAccessEntry.
-
modifiedAt
public final Instant modifiedAt()
The Unix epoch timestamp for the last modification to the object.
- Returns:
- The Unix epoch timestamp for the last modification to the object.
-
toBuilder
public AssociatedAccessPolicy.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AssociatedAccessPolicy.Builder,AssociatedAccessPolicy>
-
builder
public static AssociatedAccessPolicy.Builder builder()
-
serializableBuilderClass
public static Class<? extends AssociatedAccessPolicy.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.
-
-