Interface CreateConsumableResourceRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- BatchRequest.Builder,- Buildable,- CopyableBuilder<CreateConsumableResourceRequest.Builder,,- CreateConsumableResourceRequest> - SdkBuilder<CreateConsumableResourceRequest.Builder,,- CreateConsumableResourceRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- CreateConsumableResourceRequest
@Mutable
@NotThreadSafe
public static interface CreateConsumableResourceRequest.Builder
extends BatchRequest.Builder, SdkPojo, CopyableBuilder<CreateConsumableResourceRequest.Builder,CreateConsumableResourceRequest> 
- 
Method SummaryModifier and TypeMethodDescriptionconsumableResourceName(String consumableResourceName) The name of the consumable resource.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceType(String resourceType) Indicates whether the resource is available to be re-used after a job completes.The tags that you apply to the consumable resource to help you categorize and organize your resources.totalQuantity(Long totalQuantity) The total amount of the consumable resource that is available.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.services.batch.model.BatchRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
consumableResourceNameThe 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.
 
- 
totalQuantityThe 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.
 
- 
resourceTypeIndicates 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.
 
- 
 
- 
tagsThe 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.
 
- 
overrideConfigurationCreateConsumableResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateConsumableResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-