Class Subject
- java.lang.Object
-
- software.amazon.awssdk.services.eksauth.model.Subject
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Subject.Builder,Subject>
@Generated("software.amazon.awssdk:codegen") public final class Subject extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Subject.Builder,Subject>
An object containing the name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSubject.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Subject.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringnamespace()The name of the Kubernetes namespace inside the cluster to create the association in.List<SdkField<?>>sdkFields()static Class<? extends Subject.Builder>serializableBuilderClass()StringserviceAccount()The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.Subject.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
-
namespace
public final String namespace()
The name of the Kubernetes namespace inside the cluster to create the association in. The service account and the pods that use the service account must be in this namespace.
- Returns:
- The name of the Kubernetes namespace inside the cluster to create the association in. The service account and the pods that use the service account must be in this namespace.
-
serviceAccount
public final String serviceAccount()
The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
- Returns:
- The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
-
toBuilder
public Subject.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Subject.Builder,Subject>
-
builder
public static Subject.Builder builder()
-
serializableBuilderClass
public static Class<? extends Subject.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.
-
-