Interface FargateProfile.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FargateProfile.Builder,FargateProfile>,SdkBuilder<FargateProfile.Builder,FargateProfile>,SdkPojo
- Enclosing class:
- FargateProfile
public static interface FargateProfile.Builder extends SdkPojo, CopyableBuilder<FargateProfile.Builder,FargateProfile>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description FargateProfile.BuilderclusterName(String clusterName)The name of your cluster.FargateProfile.BuildercreatedAt(Instant createdAt)The Unix epoch timestamp at object creation.FargateProfile.BuilderfargateProfileArn(String fargateProfileArn)The full Amazon Resource Name (ARN) of the Fargate profile.FargateProfile.BuilderfargateProfileName(String fargateProfileName)The name of the Fargate profile.default FargateProfile.Builderhealth(Consumer<FargateProfileHealth.Builder> health)The health status of the Fargate profile.FargateProfile.Builderhealth(FargateProfileHealth health)The health status of the Fargate profile.FargateProfile.BuilderpodExecutionRoleArn(String podExecutionRoleArn)The Amazon Resource Name (ARN) of thePodexecution role to use for anyPodthat matches the selectors in the Fargate profile.FargateProfile.Builderselectors(Collection<FargateProfileSelector> selectors)The selectors to match for aPodto use this Fargate profile.FargateProfile.Builderselectors(Consumer<FargateProfileSelector.Builder>... selectors)The selectors to match for aPodto use this Fargate profile.FargateProfile.Builderselectors(FargateProfileSelector... selectors)The selectors to match for aPodto use this Fargate profile.FargateProfile.Builderstatus(String status)The current status of the Fargate profile.FargateProfile.Builderstatus(FargateProfileStatus status)The current status of the Fargate profile.FargateProfile.Buildersubnets(String... subnets)The IDs of subnets to launch aPodinto.FargateProfile.Buildersubnets(Collection<String> subnets)The IDs of subnets to launch aPodinto.FargateProfile.Buildertags(Map<String,String> tags)Metadata that assists with categorization and organization.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
FargateProfile.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.
-
fargateProfileArn
FargateProfile.Builder fargateProfileArn(String fargateProfileArn)
The full Amazon Resource Name (ARN) of the Fargate profile.
- Parameters:
fargateProfileArn- The full Amazon Resource Name (ARN) of the Fargate profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterName
FargateProfile.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.
-
createdAt
FargateProfile.Builder createdAt(Instant createdAt)
The Unix epoch timestamp at object creation.
- Parameters:
createdAt- The Unix epoch timestamp at object creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
podExecutionRoleArn
FargateProfile.Builder podExecutionRoleArn(String podExecutionRoleArn)
The Amazon Resource Name (ARN) of the
Podexecution role to use for anyPodthat matches the selectors in the Fargate profile. For more information, seePodexecution role in the Amazon EKS User Guide.- Parameters:
podExecutionRoleArn- The Amazon Resource Name (ARN) of thePodexecution role to use for anyPodthat matches the selectors in the Fargate profile. 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
FargateProfile.Builder subnets(Collection<String> subnets)
The IDs of subnets to launch a
Podinto.- Parameters:
subnets- The IDs of subnets to launch aPodinto.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
FargateProfile.Builder subnets(String... subnets)
The IDs of subnets to launch a
Podinto.- Parameters:
subnets- The IDs of subnets to launch aPodinto.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectors
FargateProfile.Builder selectors(Collection<FargateProfileSelector> selectors)
The selectors to match for a
Podto use this Fargate profile.- Parameters:
selectors- The selectors to match for aPodto use this Fargate profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectors
FargateProfile.Builder selectors(FargateProfileSelector... selectors)
The selectors to match for a
Podto use this Fargate profile.- Parameters:
selectors- The selectors to match for aPodto use this Fargate profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectors
FargateProfile.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.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)
-
status
FargateProfile.Builder status(String status)
The current status of the Fargate profile.
- Parameters:
status- The current status of the Fargate profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FargateProfileStatus,FargateProfileStatus
-
status
FargateProfile.Builder status(FargateProfileStatus status)
The current status of the Fargate profile.
- Parameters:
status- The current status of the Fargate profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FargateProfileStatus,FargateProfileStatus
-
tags
FargateProfile.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.
-
health
FargateProfile.Builder health(FargateProfileHealth health)
The health status of the Fargate profile. If there are issues with your Fargate profile's health, they are listed here.
- Parameters:
health- The health status of the Fargate profile. If there are issues with your Fargate profile's health, they are listed here.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
health
default FargateProfile.Builder health(Consumer<FargateProfileHealth.Builder> health)
The health status of the Fargate profile. If there are issues with your Fargate profile's health, they are listed here.
This is a convenience method that creates an instance of theFargateProfileHealth.Builderavoiding the need to create one manually viaFargateProfileHealth.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohealth(FargateProfileHealth).- Parameters:
health- a consumer that will call methods onFargateProfileHealth.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
health(FargateProfileHealth)
-
-