Interface CreateFargateProfileRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateFargateProfileRequest.Builder,CreateFargateProfileRequest>,EksRequest.Builder,SdkBuilder<CreateFargateProfileRequest.Builder,CreateFargateProfileRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateFargateProfileRequest
public static interface CreateFargateProfileRequest.Builder extends EksRequest.Builder, SdkPojo, CopyableBuilder<CreateFargateProfileRequest.Builder,CreateFargateProfileRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateFargateProfileRequest.BuilderclientRequestToken(String clientRequestToken)A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.CreateFargateProfileRequest.BuilderclusterName(String clusterName)The name of your cluster.CreateFargateProfileRequest.BuilderfargateProfileName(String fargateProfileName)The name of the Fargate profile.CreateFargateProfileRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateFargateProfileRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateFargateProfileRequest.BuilderpodExecutionRoleArn(String podExecutionRoleArn)The Amazon Resource Name (ARN) of thePodexecution role to use for aPodthat matches the selectors in the Fargate profile.CreateFargateProfileRequest.Builderselectors(Collection<FargateProfileSelector> selectors)The selectors to match for aPodto use this Fargate profile.CreateFargateProfileRequest.Builderselectors(Consumer<FargateProfileSelector.Builder>... selectors)The selectors to match for aPodto use this Fargate profile.CreateFargateProfileRequest.Builderselectors(FargateProfileSelector... selectors)The selectors to match for aPodto use this Fargate profile.CreateFargateProfileRequest.Buildersubnets(String... subnets)The IDs of subnets to launch aPodinto.CreateFargateProfileRequest.Buildersubnets(Collection<String> subnets)The IDs of subnets to launch aPodinto.CreateFargateProfileRequest.Buildertags(Map<String,String> tags)Metadata that assists with categorization and organization.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.eks.model.EksRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
fargateProfileName
CreateFargateProfileRequest.Builder fargateProfileName(String fargateProfileName)
The name of the Fargate profile.
- Parameters:
fargateProfileName- The name of the Fargate profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterName
CreateFargateProfileRequest.Builder clusterName(String clusterName)
The name of your cluster.
- Parameters:
clusterName- The name of your cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
podExecutionRoleArn
CreateFargateProfileRequest.Builder podExecutionRoleArn(String podExecutionRoleArn)
The Amazon Resource Name (ARN) of the
Podexecution role to use for aPodthat matches the selectors in the Fargate profile. ThePodexecution 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, seePodexecution role in the Amazon EKS User Guide.- Parameters:
podExecutionRoleArn- The Amazon Resource Name (ARN) of thePodexecution role to use for aPodthat matches the selectors in the Fargate profile. ThePodexecution 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, seePodexecution role in the Amazon EKS User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
CreateFargateProfileRequest.Builder subnets(Collection<String> subnets)
The IDs of subnets to launch a
Podinto. APodrunning 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.- Parameters:
subnets- The IDs of subnets to launch aPodinto. APodrunning 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
CreateFargateProfileRequest.Builder subnets(String... subnets)
The IDs of subnets to launch a
Podinto. APodrunning 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.- Parameters:
subnets- The IDs of subnets to launch aPodinto. APodrunning 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectors
CreateFargateProfileRequest.Builder selectors(Collection<FargateProfileSelector> selectors)
The selectors to match for a
Podto use this Fargate profile. Each selector must have an associated Kubernetesnamespace. Optionally, you can also specifylabelsfor anamespace. You may specify up to five selectors in a Fargate profile.- Parameters:
selectors- The selectors to match for aPodto use this Fargate profile. Each selector must have an associated Kubernetesnamespace. Optionally, you can also specifylabelsfor anamespace. You may specify up to five selectors in a Fargate profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectors
CreateFargateProfileRequest.Builder selectors(FargateProfileSelector... selectors)
The selectors to match for a
Podto use this Fargate profile. Each selector must have an associated Kubernetesnamespace. Optionally, you can also specifylabelsfor anamespace. You may specify up to five selectors in a Fargate profile.- Parameters:
selectors- The selectors to match for aPodto use this Fargate profile. Each selector must have an associated Kubernetesnamespace. Optionally, you can also specifylabelsfor anamespace. You may specify up to five selectors in a Fargate profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectors
CreateFargateProfileRequest.Builder selectors(Consumer<FargateProfileSelector.Builder>... selectors)
The selectors to match for a
This is a convenience method that creates an instance of thePodto use this Fargate profile. Each selector must have an associated Kubernetesnamespace. Optionally, you can also specifylabelsfor anamespace. You may specify up to five selectors in a Fargate profile.FargateProfileSelector.Builderavoiding the need to create one manually viaFargateProfileSelector.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#selectors(List.) - Parameters:
selectors- a consumer that will call methods onFargateProfileSelector.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#selectors(java.util.Collection)
-
clientRequestToken
CreateFargateProfileRequest.Builder clientRequestToken(String clientRequestToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientRequestToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateFargateProfileRequest.Builder tags(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateFargateProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateFargateProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-