@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()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getClusterName()
The name of your cluster.
|
String |
getFargateProfileName()
The name of the Fargate profile.
|
String |
getPodExecutionRoleArn()
The Amazon Resource Name (ARN) of the
Pod execution role to use for a Pod that matches
the selectors in the Fargate profile. |
List<FargateProfileSelector> |
getSelectors()
The selectors to match for a
Pod to use this Fargate profile. |
List<String> |
getSubnets()
The IDs of subnets to launch a
Pod into. |
Map<String,String> |
getTags()
Metadata that assists with categorization and organization.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setClusterName(String clusterName)
The name of your cluster.
|
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 a Pod that matches
the selectors in the Fargate profile. |
void |
setSelectors(Collection<FargateProfileSelector> selectors)
The selectors to match for a
Pod to use this Fargate profile. |
void |
setSubnets(Collection<String> subnets)
The IDs of subnets to launch a
Pod into. |
void |
setTags(Map<String,String> tags)
Metadata that assists with categorization and organization.
|
String |
toString()
Returns a string representation of this object.
|
CreateFargateProfileRequest |
withClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateFargateProfileRequest |
withClusterName(String clusterName)
The name of your cluster.
|
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 a Pod that matches
the selectors in the Fargate profile. |
CreateFargateProfileRequest |
withSelectors(Collection<FargateProfileSelector> selectors)
The selectors to match for a
Pod to use this Fargate profile. |
CreateFargateProfileRequest |
withSelectors(FargateProfileSelector... selectors)
The selectors to match for a
Pod to use this Fargate profile. |
CreateFargateProfileRequest |
withSubnets(Collection<String> subnets)
The IDs of subnets to launch a
Pod into. |
CreateFargateProfileRequest |
withSubnets(String... subnets)
The IDs of subnets to launch a
Pod into. |
CreateFargateProfileRequest |
withTags(Map<String,String> tags)
Metadata that assists 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 your cluster.
clusterName
- The name of your cluster.public String getClusterName()
The name of your cluster.
public CreateFargateProfileRequest withClusterName(String clusterName)
The name of your cluster.
clusterName
- The name of your cluster.public void setPodExecutionRoleArn(String podExecutionRoleArn)
The Amazon Resource Name (ARN) of the Pod
execution role to use for a Pod
that matches
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 a Pod
that
matches 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 a Pod
that matches
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.
Pod
execution role to use for a Pod
that
matches 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 a Pod
that matches
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 a Pod
that
matches 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 a Pod
into. A Pod
running on Fargate isn't assigned a
public IP address, so only private subnets (with no direct route to an Internet Gateway) are accepted for this
parameter.
Pod
into. A Pod
running on Fargate isn't
assigned a public IP address, 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 a Pod
into. A Pod
running on Fargate isn't assigned a
public IP address, so only private subnets (with no direct route to an Internet Gateway) are accepted for this
parameter.
subnets
- The IDs of subnets to launch a Pod
into. A Pod
running on Fargate isn't assigned
a public IP address, 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 a Pod
into. A Pod
running on Fargate isn't assigned a
public IP address, 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 a Pod
into. A Pod
running on Fargate isn't assigned
a public IP address, 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 a Pod
into. A Pod
running on Fargate isn't assigned a
public IP address, so only private subnets (with no direct route to an Internet Gateway) are accepted for this
parameter.
subnets
- The IDs of subnets to launch a Pod
into. A Pod
running on Fargate isn't assigned
a public IP address, 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 a Pod
to use this Fargate profile. Each selector must have an associated
Kubernetes namespace
. Optionally, you can also specify labels
for a
namespace
. You may specify up to five selectors in a Fargate profile.
Pod
to use this Fargate profile. Each selector must have an
associated Kubernetes 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 a Pod
to use this Fargate profile. Each selector must have an associated
Kubernetes 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 a Pod
to use this Fargate profile. Each selector must have an
associated Kubernetes 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 a Pod
to use this Fargate profile. Each selector must have an associated
Kubernetes 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 a Pod
to use this Fargate profile. Each selector must have an
associated Kubernetes 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 a Pod
to use this Fargate profile. Each selector must have an associated
Kubernetes 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 a Pod
to use this Fargate profile. Each selector must have an
associated Kubernetes 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)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientRequestToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public String getClientRequestToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public CreateFargateProfileRequest withClientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientRequestToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public Map<String,String> getTags()
Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.
public void setTags(Map<String,String> tags)
Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.
tags
- Metadata that assists with categorization and organization. Each tag consists of a key and an optional
value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.public CreateFargateProfileRequest withTags(Map<String,String> tags)
Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.
tags
- Metadata that assists with categorization and organization. Each tag consists of a key and an optional
value. You define both. Tags don't propagate to any other cluster or Amazon Web Services resources.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()