@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Subject extends Object implements Serializable, Cloneable, StructuredPojo
An object containing the name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
Constructor and Description |
---|
Subject() |
Modifier and Type | Method and Description |
---|---|
Subject |
clone() |
boolean |
equals(Object obj) |
String |
getNamespace()
The name of the Kubernetes namespace inside the cluster to create the association in.
|
String |
getServiceAccount()
The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setNamespace(String namespace)
The name of the Kubernetes namespace inside the cluster to create the association in.
|
void |
setServiceAccount(String serviceAccount)
The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
|
String |
toString()
Returns a string representation of this object.
|
Subject |
withNamespace(String namespace)
The name of the Kubernetes namespace inside the cluster to create the association in.
|
Subject |
withServiceAccount(String serviceAccount)
The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
|
public void setNamespace(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.
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.public String getNamespace()
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.
public Subject withNamespace(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.
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.public void setServiceAccount(String serviceAccount)
The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
serviceAccount
- The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.public String getServiceAccount()
The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
public Subject withServiceAccount(String serviceAccount)
The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
serviceAccount
- The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.