Interface ElasticGpus.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ElasticGpus.Builder,ElasticGpus>
,SdkBuilder<ElasticGpus.Builder,ElasticGpus>
,SdkPojo
- Enclosing class:
- ElasticGpus
public static interface ElasticGpus.Builder extends SdkPojo, CopyableBuilder<ElasticGpus.Builder,ElasticGpus>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ElasticGpus.Builder
availabilityZone(String availabilityZone)
The Availability Zone in the which the Elastic Graphics accelerator resides.default ElasticGpus.Builder
elasticGpuHealth(Consumer<ElasticGpuHealth.Builder> elasticGpuHealth)
The status of the Elastic Graphics accelerator.ElasticGpus.Builder
elasticGpuHealth(ElasticGpuHealth elasticGpuHealth)
The status of the Elastic Graphics accelerator.ElasticGpus.Builder
elasticGpuId(String elasticGpuId)
The ID of the Elastic Graphics accelerator.ElasticGpus.Builder
elasticGpuState(String elasticGpuState)
The state of the Elastic Graphics accelerator.ElasticGpus.Builder
elasticGpuState(ElasticGpuState elasticGpuState)
The state of the Elastic Graphics accelerator.ElasticGpus.Builder
elasticGpuType(String elasticGpuType)
The type of Elastic Graphics accelerator.ElasticGpus.Builder
instanceId(String instanceId)
The ID of the instance to which the Elastic Graphics accelerator is attached.ElasticGpus.Builder
tags(Collection<Tag> tags)
The tags assigned to the Elastic Graphics accelerator.ElasticGpus.Builder
tags(Consumer<Tag.Builder>... tags)
The tags assigned to the Elastic Graphics accelerator.ElasticGpus.Builder
tags(Tag... tags)
The tags assigned to the Elastic Graphics accelerator.-
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
-
elasticGpuId
ElasticGpus.Builder elasticGpuId(String elasticGpuId)
The ID of the Elastic Graphics accelerator.
- Parameters:
elasticGpuId
- The ID of the Elastic Graphics accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZone
ElasticGpus.Builder availabilityZone(String availabilityZone)
The Availability Zone in the which the Elastic Graphics accelerator resides.
- Parameters:
availabilityZone
- The Availability Zone in the which the Elastic Graphics accelerator resides.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elasticGpuType
ElasticGpus.Builder elasticGpuType(String elasticGpuType)
The type of Elastic Graphics accelerator.
- Parameters:
elasticGpuType
- The type of Elastic Graphics accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elasticGpuHealth
ElasticGpus.Builder elasticGpuHealth(ElasticGpuHealth elasticGpuHealth)
The status of the Elastic Graphics accelerator.
- Parameters:
elasticGpuHealth
- The status of the Elastic Graphics accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elasticGpuHealth
default ElasticGpus.Builder elasticGpuHealth(Consumer<ElasticGpuHealth.Builder> elasticGpuHealth)
The status of the Elastic Graphics accelerator.
This is a convenience method that creates an instance of theElasticGpuHealth.Builder
avoiding the need to create one manually viaElasticGpuHealth.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toelasticGpuHealth(ElasticGpuHealth)
.- Parameters:
elasticGpuHealth
- a consumer that will call methods onElasticGpuHealth.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
elasticGpuHealth(ElasticGpuHealth)
-
elasticGpuState
ElasticGpus.Builder elasticGpuState(String elasticGpuState)
The state of the Elastic Graphics accelerator.
- Parameters:
elasticGpuState
- The state of the Elastic Graphics accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ElasticGpuState
,ElasticGpuState
-
elasticGpuState
ElasticGpus.Builder elasticGpuState(ElasticGpuState elasticGpuState)
The state of the Elastic Graphics accelerator.
- Parameters:
elasticGpuState
- The state of the Elastic Graphics accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ElasticGpuState
,ElasticGpuState
-
instanceId
ElasticGpus.Builder instanceId(String instanceId)
The ID of the instance to which the Elastic Graphics accelerator is attached.
- Parameters:
instanceId
- The ID of the instance to which the Elastic Graphics accelerator is attached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ElasticGpus.Builder tags(Collection<Tag> tags)
The tags assigned to the Elastic Graphics accelerator.
- Parameters:
tags
- The tags assigned to the Elastic Graphics accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ElasticGpus.Builder tags(Tag... tags)
The tags assigned to the Elastic Graphics accelerator.
- Parameters:
tags
- The tags assigned to the Elastic Graphics accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ElasticGpus.Builder tags(Consumer<Tag.Builder>... tags)
The tags assigned to the Elastic Graphics accelerator.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tags(List
.) - Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection
)
-
-