Interface CreateCapacityProviderRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateCapacityProviderRequest.Builder,CreateCapacityProviderRequest>,LambdaRequest.Builder,SdkBuilder<CreateCapacityProviderRequest.Builder,CreateCapacityProviderRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateCapacityProviderRequest
@Mutable @NotThreadSafe public static interface CreateCapacityProviderRequest.Builder extends LambdaRequest.Builder, SdkPojo, CopyableBuilder<CreateCapacityProviderRequest.Builder,CreateCapacityProviderRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateCapacityProviderRequest.BuildercapacityProviderName(String capacityProviderName)The name of the capacity provider.default CreateCapacityProviderRequest.BuildercapacityProviderScalingConfig(Consumer<CapacityProviderScalingConfig.Builder> capacityProviderScalingConfig)The scaling configuration that defines how the capacity provider scales compute instances, including maximum vCPU count and scaling policies.CreateCapacityProviderRequest.BuildercapacityProviderScalingConfig(CapacityProviderScalingConfig capacityProviderScalingConfig)The scaling configuration that defines how the capacity provider scales compute instances, including maximum vCPU count and scaling policies.default CreateCapacityProviderRequest.BuilderinstanceRequirements(Consumer<InstanceRequirements.Builder> instanceRequirements)The instance requirements that specify the compute instance characteristics, including architectures and allowed or excluded instance types.CreateCapacityProviderRequest.BuilderinstanceRequirements(InstanceRequirements instanceRequirements)The instance requirements that specify the compute instance characteristics, including architectures and allowed or excluded instance types.CreateCapacityProviderRequest.BuilderkmsKeyArn(String kmsKeyArn)The ARN of the KMS key used to encrypt data associated with the capacity provider.CreateCapacityProviderRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateCapacityProviderRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateCapacityProviderRequest.BuilderpermissionsConfig(Consumer<CapacityProviderPermissionsConfig.Builder> permissionsConfig)The permissions configuration that specifies the IAM role ARN used by the capacity provider to manage compute resources.CreateCapacityProviderRequest.BuilderpermissionsConfig(CapacityProviderPermissionsConfig permissionsConfig)The permissions configuration that specifies the IAM role ARN used by the capacity provider to manage compute resources.CreateCapacityProviderRequest.Buildertags(Map<String,String> tags)A list of tags to associate with the capacity provider.default CreateCapacityProviderRequest.BuildervpcConfig(Consumer<CapacityProviderVpcConfig.Builder> vpcConfig)The VPC configuration for the capacity provider, including subnet IDs and security group IDs where compute instances will be launched.CreateCapacityProviderRequest.BuildervpcConfig(CapacityProviderVpcConfig vpcConfig)The VPC configuration for the capacity provider, including subnet IDs and security group IDs where compute instances will be launched.-
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.lambda.model.LambdaRequest.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
-
capacityProviderName
CreateCapacityProviderRequest.Builder capacityProviderName(String capacityProviderName)
The name of the capacity provider.
- Parameters:
capacityProviderName- The name of the capacity provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
CreateCapacityProviderRequest.Builder vpcConfig(CapacityProviderVpcConfig vpcConfig)
The VPC configuration for the capacity provider, including subnet IDs and security group IDs where compute instances will be launched.
- Parameters:
vpcConfig- The VPC configuration for the capacity provider, including subnet IDs and security group IDs where compute instances will be launched.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
default CreateCapacityProviderRequest.Builder vpcConfig(Consumer<CapacityProviderVpcConfig.Builder> vpcConfig)
The VPC configuration for the capacity provider, including subnet IDs and security group IDs where compute instances will be launched.
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:
vpcConfig(CapacityProviderVpcConfig)
-
permissionsConfig
CreateCapacityProviderRequest.Builder permissionsConfig(CapacityProviderPermissionsConfig permissionsConfig)
The permissions configuration that specifies the IAM role ARN used by the capacity provider to manage compute resources.
- Parameters:
permissionsConfig- The permissions configuration that specifies the IAM role ARN used by the capacity provider to manage compute resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionsConfig
default CreateCapacityProviderRequest.Builder permissionsConfig(Consumer<CapacityProviderPermissionsConfig.Builder> permissionsConfig)
The permissions configuration that specifies the IAM role ARN used by the capacity provider to manage compute resources.
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:
permissionsConfig(CapacityProviderPermissionsConfig)
-
instanceRequirements
CreateCapacityProviderRequest.Builder instanceRequirements(InstanceRequirements instanceRequirements)
The instance requirements that specify the compute instance characteristics, including architectures and allowed or excluded instance types.
- Parameters:
instanceRequirements- The instance requirements that specify the compute instance characteristics, including architectures and allowed or excluded instance types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceRequirements
default CreateCapacityProviderRequest.Builder instanceRequirements(Consumer<InstanceRequirements.Builder> instanceRequirements)
The instance requirements that specify the compute instance characteristics, including architectures and allowed or excluded instance types.
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:
instanceRequirements(InstanceRequirements)
-
capacityProviderScalingConfig
CreateCapacityProviderRequest.Builder capacityProviderScalingConfig(CapacityProviderScalingConfig capacityProviderScalingConfig)
The scaling configuration that defines how the capacity provider scales compute instances, including maximum vCPU count and scaling policies.
- Parameters:
capacityProviderScalingConfig- The scaling configuration that defines how the capacity provider scales compute instances, including maximum vCPU count and scaling policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityProviderScalingConfig
default CreateCapacityProviderRequest.Builder capacityProviderScalingConfig(Consumer<CapacityProviderScalingConfig.Builder> capacityProviderScalingConfig)
The scaling configuration that defines how the capacity provider scales compute instances, including maximum vCPU count and scaling policies.
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:
capacityProviderScalingConfig(CapacityProviderScalingConfig)
-
kmsKeyArn
CreateCapacityProviderRequest.Builder kmsKeyArn(String kmsKeyArn)
The ARN of the KMS key used to encrypt data associated with the capacity provider.
- Parameters:
kmsKeyArn- The ARN of the KMS key used to encrypt data associated with the capacity provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateCapacityProviderRequest.Builder tags(Map<String,String> tags)
A list of tags to associate with the capacity provider.
- Parameters:
tags- A list of tags to associate with the capacity provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateCapacityProviderRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateCapacityProviderRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-