Interface CreateConsumableResourceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BatchRequest.Builder,Buildable,CopyableBuilder<CreateConsumableResourceRequest.Builder,CreateConsumableResourceRequest>,SdkBuilder<CreateConsumableResourceRequest.Builder,CreateConsumableResourceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateConsumableResourceRequest
public static interface CreateConsumableResourceRequest.Builder extends BatchRequest.Builder, SdkPojo, CopyableBuilder<CreateConsumableResourceRequest.Builder,CreateConsumableResourceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateConsumableResourceRequest.BuilderconsumableResourceName(String consumableResourceName)The name of the consumable resource.CreateConsumableResourceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateConsumableResourceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateConsumableResourceRequest.BuilderresourceType(String resourceType)Indicates whether the resource is available to be re-used after a job completes.CreateConsumableResourceRequest.Buildertags(Map<String,String> tags)The tags that you apply to the consumable resource to help you categorize and organize your resources.CreateConsumableResourceRequest.BuildertotalQuantity(Long totalQuantity)The total amount of the consumable resource that is available.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.batch.model.BatchRequest.Builder
build
-
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
-
consumableResourceName
CreateConsumableResourceRequest.Builder consumableResourceName(String consumableResourceName)
The name of the consumable resource. Must be unique.
- Parameters:
consumableResourceName- The name of the consumable resource. Must be unique.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalQuantity
CreateConsumableResourceRequest.Builder totalQuantity(Long totalQuantity)
The total amount of the consumable resource that is available. Must be non-negative.
- Parameters:
totalQuantity- The total amount of the consumable resource that is available. Must be non-negative.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
CreateConsumableResourceRequest.Builder resourceType(String resourceType)
Indicates whether the resource is available to be re-used after a job completes. Can be one of:
-
REPLENISHABLE(default) -
NON_REPLENISHABLE
- Parameters:
resourceType- Indicates whether the resource is available to be re-used after a job completes. Can be one of:-
REPLENISHABLE(default) -
NON_REPLENISHABLE
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
tags
CreateConsumableResourceRequest.Builder tags(Map<String,String> tags)
The tags that you apply to the consumable resource to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging your Batch resources.
- Parameters:
tags- The tags that you apply to the consumable resource to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging your Batch resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateConsumableResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateConsumableResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-