@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddonPodIdentityConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Information about how to configure IAM for an Addon.
Constructor and Description |
---|
AddonPodIdentityConfiguration() |
Modifier and Type | Method and Description |
---|---|
AddonPodIdentityConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getRecommendedManagedPolicies()
A suggested IAM Policy for the addon.
|
String |
getServiceAccount()
The Kubernetes Service Account name used by the addon.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRecommendedManagedPolicies(Collection<String> recommendedManagedPolicies)
A suggested IAM Policy for the addon.
|
void |
setServiceAccount(String serviceAccount)
The Kubernetes Service Account name used by the addon.
|
String |
toString()
Returns a string representation of this object.
|
AddonPodIdentityConfiguration |
withRecommendedManagedPolicies(Collection<String> recommendedManagedPolicies)
A suggested IAM Policy for the addon.
|
AddonPodIdentityConfiguration |
withRecommendedManagedPolicies(String... recommendedManagedPolicies)
A suggested IAM Policy for the addon.
|
AddonPodIdentityConfiguration |
withServiceAccount(String serviceAccount)
The Kubernetes Service Account name used by the addon.
|
public void setServiceAccount(String serviceAccount)
The Kubernetes Service Account name used by the addon.
serviceAccount
- The Kubernetes Service Account name used by the addon.public String getServiceAccount()
The Kubernetes Service Account name used by the addon.
public AddonPodIdentityConfiguration withServiceAccount(String serviceAccount)
The Kubernetes Service Account name used by the addon.
serviceAccount
- The Kubernetes Service Account name used by the addon.public List<String> getRecommendedManagedPolicies()
A suggested IAM Policy for the addon.
public void setRecommendedManagedPolicies(Collection<String> recommendedManagedPolicies)
A suggested IAM Policy for the addon.
recommendedManagedPolicies
- A suggested IAM Policy for the addon.public AddonPodIdentityConfiguration withRecommendedManagedPolicies(String... recommendedManagedPolicies)
A suggested IAM Policy for the addon.
NOTE: This method appends the values to the existing list (if any). Use
setRecommendedManagedPolicies(java.util.Collection)
or
withRecommendedManagedPolicies(java.util.Collection)
if you want to override the existing values.
recommendedManagedPolicies
- A suggested IAM Policy for the addon.public AddonPodIdentityConfiguration withRecommendedManagedPolicies(Collection<String> recommendedManagedPolicies)
A suggested IAM Policy for the addon.
recommendedManagedPolicies
- A suggested IAM Policy for the addon.public String toString()
toString
in class Object
Object.toString()
public AddonPodIdentityConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.