Interface DescribeConsumableResourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BatchResponse.Builder
,Buildable
,CopyableBuilder<DescribeConsumableResourceResponse.Builder,
,DescribeConsumableResourceResponse> SdkBuilder<DescribeConsumableResourceResponse.Builder,
,DescribeConsumableResourceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeConsumableResourceResponse
-
Method Summary
Modifier and TypeMethodDescriptionavailableQuantity
(Long availableQuantity) The amount of the consumable resource that is currently available to use.consumableResourceArn
(String consumableResourceArn) The Amazon Resource Name (ARN) of the consumable resource.consumableResourceName
(String consumableResourceName) The name of the consumable resource.The Unix timestamp (in milliseconds) for when the consumable resource was created.inUseQuantity
(Long inUseQuantity) The amount of the consumable resource that is currently in use.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.services.batch.model.BatchResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
consumableResourceName
The name of the consumable resource.
- Parameters:
consumableResourceName
- The name of the consumable resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumableResourceArn
The Amazon Resource Name (ARN) of the consumable resource.
- Parameters:
consumableResourceArn
- The Amazon Resource Name (ARN) of the consumable resource.- 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.
- Parameters:
totalQuantity
- The total amount of the consumable resource that is available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inUseQuantity
The amount of the consumable resource that is currently in use.
- Parameters:
inUseQuantity
- The amount of the consumable resource that is currently in use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availableQuantity
The amount of the consumable resource that is currently available to use.
- Parameters:
availableQuantity
- The amount of the consumable resource that is currently available to use.- 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
-
NON_REPLENISHABLE
- Parameters:
resourceType
- Indicates whether the resource is available to be re-used after a job completes. Can be one of:-
REPLENISHABLE
-
NON_REPLENISHABLE
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
createdAt
The Unix timestamp (in milliseconds) for when the consumable resource was created.
- Parameters:
createdAt
- The Unix timestamp (in milliseconds) for when the consumable resource was created.- 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.
-