@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FargateProfile extends Object implements Serializable, Cloneable, StructuredPojo
An object representing an AWS Fargate profile.
Constructor and Description |
---|
FargateProfile() |
Modifier and Type | Method and Description |
---|---|
FargateProfile |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
FargateProfile |
clearTagsEntries()
Removes all the entries added into Tags.
|
FargateProfile |
clone() |
boolean |
equals(Object obj) |
String |
getClusterName()
The name of the Amazon EKS cluster that the Fargate profile belongs to.
|
Date |
getCreatedAt()
The Unix epoch timestamp in seconds for when the Fargate profile was created.
|
String |
getFargateProfileArn()
The full Amazon Resource Name (ARN) of the Fargate profile.
|
String |
getFargateProfileName()
The name of the Fargate profile.
|
String |
getPodExecutionRoleArn()
The Amazon Resource Name (ARN) of the pod execution role to use for pods that match the selectors in the Fargate
profile.
|
List<FargateProfileSelector> |
getSelectors()
The selectors to match for pods to use this Fargate profile.
|
String |
getStatus()
The current status of the Fargate profile.
|
List<String> |
getSubnets()
The IDs of subnets to launch pods into.
|
Map<String,String> |
getTags()
The metadata applied to the Fargate profile to assist with categorization and organization.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClusterName(String clusterName)
The name of the Amazon EKS cluster that the Fargate profile belongs to.
|
void |
setCreatedAt(Date createdAt)
The Unix epoch timestamp in seconds for when the Fargate profile was created.
|
void |
setFargateProfileArn(String fargateProfileArn)
The full Amazon Resource Name (ARN) of the Fargate profile.
|
void |
setFargateProfileName(String fargateProfileName)
The name of the Fargate profile.
|
void |
setPodExecutionRoleArn(String podExecutionRoleArn)
The Amazon Resource Name (ARN) of the pod execution role to use for pods that match the selectors in the Fargate
profile.
|
void |
setSelectors(Collection<FargateProfileSelector> selectors)
The selectors to match for pods to use this Fargate profile.
|
void |
setStatus(String status)
The current status of the Fargate profile.
|
void |
setSubnets(Collection<String> subnets)
The IDs of subnets to launch pods into.
|
void |
setTags(Map<String,String> tags)
The metadata applied to the Fargate profile to assist with categorization and organization.
|
String |
toString()
Returns a string representation of this object.
|
FargateProfile |
withClusterName(String clusterName)
The name of the Amazon EKS cluster that the Fargate profile belongs to.
|
FargateProfile |
withCreatedAt(Date createdAt)
The Unix epoch timestamp in seconds for when the Fargate profile was created.
|
FargateProfile |
withFargateProfileArn(String fargateProfileArn)
The full Amazon Resource Name (ARN) of the Fargate profile.
|
FargateProfile |
withFargateProfileName(String fargateProfileName)
The name of the Fargate profile.
|
FargateProfile |
withPodExecutionRoleArn(String podExecutionRoleArn)
The Amazon Resource Name (ARN) of the pod execution role to use for pods that match the selectors in the Fargate
profile.
|
FargateProfile |
withSelectors(Collection<FargateProfileSelector> selectors)
The selectors to match for pods to use this Fargate profile.
|
FargateProfile |
withSelectors(FargateProfileSelector... selectors)
The selectors to match for pods to use this Fargate profile.
|
FargateProfile |
withStatus(FargateProfileStatus status)
The current status of the Fargate profile.
|
FargateProfile |
withStatus(String status)
The current status of the Fargate profile.
|
FargateProfile |
withSubnets(Collection<String> subnets)
The IDs of subnets to launch pods into.
|
FargateProfile |
withSubnets(String... subnets)
The IDs of subnets to launch pods into.
|
FargateProfile |
withTags(Map<String,String> tags)
The metadata applied to the Fargate profile to assist with categorization and organization.
|
public void setFargateProfileName(String fargateProfileName)
The name of the Fargate profile.
fargateProfileName
- The name of the Fargate profile.public String getFargateProfileName()
The name of the Fargate profile.
public FargateProfile withFargateProfileName(String fargateProfileName)
The name of the Fargate profile.
fargateProfileName
- The name of the Fargate profile.public void setFargateProfileArn(String fargateProfileArn)
The full Amazon Resource Name (ARN) of the Fargate profile.
fargateProfileArn
- The full Amazon Resource Name (ARN) of the Fargate profile.public String getFargateProfileArn()
The full Amazon Resource Name (ARN) of the Fargate profile.
public FargateProfile withFargateProfileArn(String fargateProfileArn)
The full Amazon Resource Name (ARN) of the Fargate profile.
fargateProfileArn
- The full Amazon Resource Name (ARN) of the Fargate profile.public void setClusterName(String clusterName)
The name of the Amazon EKS cluster that the Fargate profile belongs to.
clusterName
- The name of the Amazon EKS cluster that the Fargate profile belongs to.public String getClusterName()
The name of the Amazon EKS cluster that the Fargate profile belongs to.
public FargateProfile withClusterName(String clusterName)
The name of the Amazon EKS cluster that the Fargate profile belongs to.
clusterName
- The name of the Amazon EKS cluster that the Fargate profile belongs to.public void setCreatedAt(Date createdAt)
The Unix epoch timestamp in seconds for when the Fargate profile was created.
createdAt
- The Unix epoch timestamp in seconds for when the Fargate profile was created.public Date getCreatedAt()
The Unix epoch timestamp in seconds for when the Fargate profile was created.
public FargateProfile withCreatedAt(Date createdAt)
The Unix epoch timestamp in seconds for when the Fargate profile was created.
createdAt
- The Unix epoch timestamp in seconds for when the Fargate profile was created.public void setPodExecutionRoleArn(String podExecutionRoleArn)
The Amazon Resource Name (ARN) of the pod execution role to use for pods that match the selectors in the Fargate profile. For more information, see Pod Execution Role in the Amazon EKS User Guide.
podExecutionRoleArn
- The Amazon Resource Name (ARN) of the pod execution role to use for pods that match the selectors in the
Fargate profile. For more information, see Pod Execution Role in
the Amazon EKS User Guide.public String getPodExecutionRoleArn()
The Amazon Resource Name (ARN) of the pod execution role to use for pods that match the selectors in the Fargate profile. For more information, see Pod Execution Role in the Amazon EKS User Guide.
public FargateProfile withPodExecutionRoleArn(String podExecutionRoleArn)
The Amazon Resource Name (ARN) of the pod execution role to use for pods that match the selectors in the Fargate profile. For more information, see Pod Execution Role in the Amazon EKS User Guide.
podExecutionRoleArn
- The Amazon Resource Name (ARN) of the pod execution role to use for pods that match the selectors in the
Fargate profile. For more information, see Pod Execution Role in
the Amazon EKS User Guide.public List<String> getSubnets()
The IDs of subnets to launch pods into.
public void setSubnets(Collection<String> subnets)
The IDs of subnets to launch pods into.
subnets
- The IDs of subnets to launch pods into.public FargateProfile withSubnets(String... subnets)
The IDs of subnets to launch pods into.
NOTE: This method appends the values to the existing list (if any). Use
setSubnets(java.util.Collection)
or withSubnets(java.util.Collection)
if you want to override
the existing values.
subnets
- The IDs of subnets to launch pods into.public FargateProfile withSubnets(Collection<String> subnets)
The IDs of subnets to launch pods into.
subnets
- The IDs of subnets to launch pods into.public List<FargateProfileSelector> getSelectors()
The selectors to match for pods to use this Fargate profile.
public void setSelectors(Collection<FargateProfileSelector> selectors)
The selectors to match for pods to use this Fargate profile.
selectors
- The selectors to match for pods to use this Fargate profile.public FargateProfile withSelectors(FargateProfileSelector... selectors)
The selectors to match for pods to use this Fargate profile.
NOTE: This method appends the values to the existing list (if any). Use
setSelectors(java.util.Collection)
or withSelectors(java.util.Collection)
if you want to
override the existing values.
selectors
- The selectors to match for pods to use this Fargate profile.public FargateProfile withSelectors(Collection<FargateProfileSelector> selectors)
The selectors to match for pods to use this Fargate profile.
selectors
- The selectors to match for pods to use this Fargate profile.public void setStatus(String status)
The current status of the Fargate profile.
status
- The current status of the Fargate profile.FargateProfileStatus
public String getStatus()
The current status of the Fargate profile.
FargateProfileStatus
public FargateProfile withStatus(String status)
The current status of the Fargate profile.
status
- The current status of the Fargate profile.FargateProfileStatus
public FargateProfile withStatus(FargateProfileStatus status)
The current status of the Fargate profile.
status
- The current status of the Fargate profile.FargateProfileStatus
public Map<String,String> getTags()
The metadata applied to the Fargate profile to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Fargate profile tags do not propagate to any other resources associated with the Fargate profile, such as the pods that are scheduled with it.
public void setTags(Map<String,String> tags)
The metadata applied to the Fargate profile to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Fargate profile tags do not propagate to any other resources associated with the Fargate profile, such as the pods that are scheduled with it.
tags
- The metadata applied to the Fargate profile to assist with categorization and organization. Each tag
consists of a key and an optional value, both of which you define. Fargate profile tags do not propagate
to any other resources associated with the Fargate profile, such as the pods that are scheduled with it.public FargateProfile withTags(Map<String,String> tags)
The metadata applied to the Fargate profile to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Fargate profile tags do not propagate to any other resources associated with the Fargate profile, such as the pods that are scheduled with it.
tags
- The metadata applied to the Fargate profile to assist with categorization and organization. Each tag
consists of a key and an optional value, both of which you define. Fargate profile tags do not propagate
to any other resources associated with the Fargate profile, such as the pods that are scheduled with it.public FargateProfile addTagsEntry(String key, String value)
public FargateProfile clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public FargateProfile clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.