Class AssociateAccessPolicyRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.eks.model.EksRequest
-
- software.amazon.awssdk.services.eks.model.AssociateAccessPolicyRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<AssociateAccessPolicyRequest.Builder,AssociateAccessPolicyRequest>
@Generated("software.amazon.awssdk:codegen") public final class AssociateAccessPolicyRequest extends EksRequest implements ToCopyableBuilder<AssociateAccessPolicyRequest.Builder,AssociateAccessPolicyRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAssociateAccessPolicyRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessScopeaccessScope()The scope for theAccessPolicy.static AssociateAccessPolicyRequest.Builderbuilder()StringclusterName()The name of your cluster.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringpolicyArn()The ARN of theAccessPolicythat you're associating.StringprincipalArn()The Amazon Resource Name (ARN) of the IAM user or role for theAccessEntrythat you're associating the access policy to.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AssociateAccessPolicyRequest.Builder>serializableBuilderClass()AssociateAccessPolicyRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
clusterName
public final String clusterName()
The name of your cluster.
- Returns:
- The name of your cluster.
-
principalArn
public final String principalArn()
The Amazon Resource Name (ARN) of the IAM user or role for the
AccessEntrythat you're associating the access policy to.- Returns:
- The Amazon Resource Name (ARN) of the IAM user or role for the
AccessEntrythat you're associating the access policy to.
-
policyArn
public final String policyArn()
The ARN of the
AccessPolicythat you're associating. For a list of ARNs, useListAccessPolicies.- Returns:
- The ARN of the
AccessPolicythat you're associating. For a list of ARNs, useListAccessPolicies.
-
accessScope
public final AccessScope accessScope()
The scope for the
AccessPolicy. You can scope access policies to an entire cluster or to specific Kubernetes namespaces.- Returns:
- The scope for the
AccessPolicy. You can scope access policies to an entire cluster or to specific Kubernetes namespaces.
-
toBuilder
public AssociateAccessPolicyRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AssociateAccessPolicyRequest.Builder,AssociateAccessPolicyRequest>- Specified by:
toBuilderin classEksRequest
-
builder
public static AssociateAccessPolicyRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends AssociateAccessPolicyRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-