@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateFargateProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateFargateProfileRequest() |
Modifier and Type | Method and Description |
---|---|
CreateFargateProfileRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateFargateProfileRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateFargateProfileRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getClusterName()
The name of the Amazon EKS cluster to apply the Fargate profile to.
|
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.
|
List<String> |
getSubnets()
The IDs of subnets to launch your pods into.
|
Map<String,String> |
getTags()
The metadata to apply to the Fargate profile to assist with categorization and organization.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setClusterName(String clusterName)
The name of the Amazon EKS cluster to apply the Fargate profile to.
|
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 |
setSubnets(Collection<String> subnets)
The IDs of subnets to launch your pods into.
|
void |
setTags(Map<String,String> tags)
The metadata to apply to the Fargate profile to assist with categorization and organization.
|
String |
toString()
Returns a string representation of this object.
|
CreateFargateProfileRequest |
withClientRequestToken(String clientRequestToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateFargateProfileRequest |
withClusterName(String clusterName)
The name of the Amazon EKS cluster to apply the Fargate profile to.
|
CreateFargateProfileRequest |
withFargateProfileName(String fargateProfileName)
The name of the Fargate profile.
|
CreateFargateProfileRequest |
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.
|
CreateFargateProfileRequest |
withSelectors(Collection<FargateProfileSelector> selectors)
The selectors to match for pods to use this Fargate profile.
|
CreateFargateProfileRequest |
withSelectors(FargateProfileSelector... selectors)
The selectors to match for pods to use this Fargate profile.
|
CreateFargateProfileRequest |
withSubnets(Collection<String> subnets)
The IDs of subnets to launch your pods into.
|
CreateFargateProfileRequest |
withSubnets(String... subnets)
The IDs of subnets to launch your pods into.
|
CreateFargateProfileRequest |
withTags(Map<String,String> tags)
The metadata to apply to the Fargate profile to assist with categorization and organization.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 CreateFargateProfileRequest withFargateProfileName(String fargateProfileName)
The name of the Fargate profile.
fargateProfileName
- The name of the Fargate profile.public void setClusterName(String clusterName)
The name of the Amazon EKS cluster to apply the Fargate profile to.
clusterName
- The name of the Amazon EKS cluster to apply the Fargate profile to.public String getClusterName()
The name of the Amazon EKS cluster to apply the Fargate profile to.
public CreateFargateProfileRequest withClusterName(String clusterName)
The name of the Amazon EKS cluster to apply the Fargate profile to.
clusterName
- The name of the Amazon EKS cluster to apply the Fargate profile to.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. The pod execution role allows Fargate infrastructure to register with your cluster as a node, and it provides read access to Amazon ECR image repositories. 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. The pod execution role allows Fargate infrastructure to register with your cluster as a
node, and it provides read access to Amazon ECR image repositories. 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. The pod execution role allows Fargate infrastructure to register with your cluster as a node, and it provides read access to Amazon ECR image repositories. For more information, see Pod Execution Role in the Amazon EKS User Guide.
public CreateFargateProfileRequest 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. The pod execution role allows Fargate infrastructure to register with your cluster as a node, and it provides read access to Amazon ECR image repositories. 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. The pod execution role allows Fargate infrastructure to register with your cluster as a
node, and it provides read access to Amazon ECR image repositories. For more information, see Pod Execution Role in
the Amazon EKS User Guide.public List<String> getSubnets()
The IDs of subnets to launch your pods into. At this time, pods running on Fargate are not assigned public IP addresses, so only private subnets (with no direct route to an Internet Gateway) are accepted for this parameter.
public void setSubnets(Collection<String> subnets)
The IDs of subnets to launch your pods into. At this time, pods running on Fargate are not assigned public IP addresses, so only private subnets (with no direct route to an Internet Gateway) are accepted for this parameter.
subnets
- The IDs of subnets to launch your pods into. At this time, pods running on Fargate are not assigned public
IP addresses, so only private subnets (with no direct route to an Internet Gateway) are accepted for this
parameter.public CreateFargateProfileRequest withSubnets(String... subnets)
The IDs of subnets to launch your pods into. At this time, pods running on Fargate are not assigned public IP addresses, so only private subnets (with no direct route to an Internet Gateway) are accepted for this parameter.
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 your pods into. At this time, pods running on Fargate are not assigned public
IP addresses, so only private subnets (with no direct route to an Internet Gateway) are accepted for this
parameter.public CreateFargateProfileRequest withSubnets(Collection<String> subnets)
The IDs of subnets to launch your pods into. At this time, pods running on Fargate are not assigned public IP addresses, so only private subnets (with no direct route to an Internet Gateway) are accepted for this parameter.
subnets
- The IDs of subnets to launch your pods into. At this time, pods running on Fargate are not assigned public
IP addresses, so only private subnets (with no direct route to an Internet Gateway) are accepted for this
parameter.public List<FargateProfileSelector> getSelectors()
The selectors to match for pods to use this Fargate profile. Each selector must have an associated namespace. Optionally, you can also specify labels for a namespace. You may specify up to five selectors in a Fargate profile.
public void setSelectors(Collection<FargateProfileSelector> selectors)
The selectors to match for pods to use this Fargate profile. Each selector must have an associated namespace. Optionally, you can also specify labels for a namespace. You may specify up to five selectors in a Fargate profile.
selectors
- The selectors to match for pods to use this Fargate profile. Each selector must have an associated
namespace. Optionally, you can also specify labels for a namespace. You may specify up to five selectors
in a Fargate profile.public CreateFargateProfileRequest withSelectors(FargateProfileSelector... selectors)
The selectors to match for pods to use this Fargate profile. Each selector must have an associated namespace. Optionally, you can also specify labels for a namespace. You may specify up to five selectors in a 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. Each selector must have an associated
namespace. Optionally, you can also specify labels for a namespace. You may specify up to five selectors
in a Fargate profile.public CreateFargateProfileRequest withSelectors(Collection<FargateProfileSelector> selectors)
The selectors to match for pods to use this Fargate profile. Each selector must have an associated namespace. Optionally, you can also specify labels for a namespace. You may specify up to five selectors in a Fargate profile.
selectors
- The selectors to match for pods to use this Fargate profile. Each selector must have an associated
namespace. Optionally, you can also specify labels for a namespace. You may specify up to five selectors
in a Fargate profile.public void setClientRequestToken(String clientRequestToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientRequestToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public String getClientRequestToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public CreateFargateProfileRequest withClientRequestToken(String clientRequestToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientRequestToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public Map<String,String> getTags()
The metadata to apply to the Fargate profile to assist with categorization and organization. Each tag consists of a key and an optional value. You define both. 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 to apply to the Fargate profile to assist with categorization and organization. Each tag consists of a key and an optional value. You define both. 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 to apply to the Fargate profile to assist with categorization and organization. Each tag
consists of a key and an optional value. You define both. 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 CreateFargateProfileRequest withTags(Map<String,String> tags)
The metadata to apply to the Fargate profile to assist with categorization and organization. Each tag consists of a key and an optional value. You define both. 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 to apply to the Fargate profile to assist with categorization and organization. Each tag
consists of a key and an optional value. You define both. 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 CreateFargateProfileRequest addTagsEntry(String key, String value)
public CreateFargateProfileRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateFargateProfileRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()