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 Summary
Modifier and TypeMethodDescriptionconsumableResourceName(String consumableResourceName) The name of the consumable resource.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) 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.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.batch.model.BatchRequest.Builder
buildMethods 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
-
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
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
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
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
-