Interface CapacityProvider.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CapacityProvider.Builder,,CapacityProvider> SdkBuilder<CapacityProvider.Builder,,CapacityProvider> SdkPojo
- Enclosing class:
CapacityProvider
-
Method Summary
Modifier and TypeMethodDescriptioncapacityProviderArn(String capacityProviderArn) The Amazon Resource Name (ARN) of the capacity provider.default CapacityProvider.BuildercapacityProviderScalingConfig(Consumer<CapacityProviderScalingConfig.Builder> capacityProviderScalingConfig) The scaling configuration for the capacity provider.capacityProviderScalingConfig(CapacityProviderScalingConfig capacityProviderScalingConfig) The scaling configuration for the capacity provider.default CapacityProvider.BuilderinstanceRequirements(Consumer<InstanceRequirements.Builder> instanceRequirements) The instance requirements for compute resources managed by the capacity provider.instanceRequirements(InstanceRequirements instanceRequirements) The instance requirements for compute resources managed by the capacity provider.The ARN of the KMS key used to encrypt the capacity provider's resources.lastModified(String lastModified) The date and time when the capacity provider was last modified.default CapacityProvider.BuilderpermissionsConfig(Consumer<CapacityProviderPermissionsConfig.Builder> permissionsConfig) The permissions configuration for the capacity provider.permissionsConfig(CapacityProviderPermissionsConfig permissionsConfig) The permissions configuration for the capacity provider.The current state of the capacity provider.state(CapacityProviderState state) The current state of the capacity provider.default CapacityProvider.BuildervpcConfig(Consumer<CapacityProviderVpcConfig.Builder> vpcConfig) The VPC configuration for the capacity provider.vpcConfig(CapacityProviderVpcConfig vpcConfig) The VPC configuration for the capacity provider.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
capacityProviderArn
The Amazon Resource Name (ARN) of the capacity provider.
- Parameters:
capacityProviderArn- The Amazon Resource Name (ARN) of the capacity provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The current state of the capacity provider.
- Parameters:
state- The current state of the capacity provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The current state of the capacity provider.
- Parameters:
state- The current state of the capacity provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcConfig
The VPC configuration for the capacity provider.
- Parameters:
vpcConfig- The VPC configuration for the capacity provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
The VPC configuration for the capacity provider.
This is a convenience method that creates an instance of theCapacityProviderVpcConfig.Builderavoiding the need to create one manually viaCapacityProviderVpcConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcConfig(CapacityProviderVpcConfig).- Parameters:
vpcConfig- a consumer that will call methods onCapacityProviderVpcConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
permissionsConfig
The permissions configuration for the capacity provider.
- Parameters:
permissionsConfig- The permissions configuration for the capacity provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionsConfig
default CapacityProvider.Builder permissionsConfig(Consumer<CapacityProviderPermissionsConfig.Builder> permissionsConfig) The permissions configuration for the capacity provider.
This is a convenience method that creates an instance of theCapacityProviderPermissionsConfig.Builderavoiding the need to create one manually viaCapacityProviderPermissionsConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topermissionsConfig(CapacityProviderPermissionsConfig).- Parameters:
permissionsConfig- a consumer that will call methods onCapacityProviderPermissionsConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceRequirements
The instance requirements for compute resources managed by the capacity provider.
- Parameters:
instanceRequirements- The instance requirements for compute resources managed by the capacity provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceRequirements
default CapacityProvider.Builder instanceRequirements(Consumer<InstanceRequirements.Builder> instanceRequirements) The instance requirements for compute resources managed by the capacity provider.
This is a convenience method that creates an instance of theInstanceRequirements.Builderavoiding the need to create one manually viaInstanceRequirements.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinstanceRequirements(InstanceRequirements).- Parameters:
instanceRequirements- a consumer that will call methods onInstanceRequirements.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
capacityProviderScalingConfig
CapacityProvider.Builder capacityProviderScalingConfig(CapacityProviderScalingConfig capacityProviderScalingConfig) The scaling configuration for the capacity provider.
- Parameters:
capacityProviderScalingConfig- The scaling configuration for the capacity provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityProviderScalingConfig
default CapacityProvider.Builder capacityProviderScalingConfig(Consumer<CapacityProviderScalingConfig.Builder> capacityProviderScalingConfig) The scaling configuration for the capacity provider.
This is a convenience method that creates an instance of theCapacityProviderScalingConfig.Builderavoiding the need to create one manually viaCapacityProviderScalingConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapacityProviderScalingConfig(CapacityProviderScalingConfig).- Parameters:
capacityProviderScalingConfig- a consumer that will call methods onCapacityProviderScalingConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kmsKeyArn
The ARN of the KMS key used to encrypt the capacity provider's resources.
- Parameters:
kmsKeyArn- The ARN of the KMS key used to encrypt the capacity provider's resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModified
The date and time when the capacity provider was last modified.
- Parameters:
lastModified- The date and time when the capacity provider was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-