Interface ComputeAttributes.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ComputeAttributes.Builder,ComputeAttributes>,SdkBuilder<ComputeAttributes.Builder,ComputeAttributes>,SdkPojo
- Enclosing class:
- ComputeAttributes
public static interface ComputeAttributes.Builder extends SdkPojo, CopyableBuilder<ComputeAttributes.Builder,ComputeAttributes>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ComputeAttributes.BuilderhostId(String hostId)The host ID of the Dedicated Host on the asset.ComputeAttributes.BuilderinstanceFamilies(String... instanceFamilies)A list of the names of instance families that are currently associated with a given asset.ComputeAttributes.BuilderinstanceFamilies(Collection<String> instanceFamilies)A list of the names of instance families that are currently associated with a given asset.ComputeAttributes.Builderstate(String state)The state.ComputeAttributes.Builderstate(ComputeAssetState state)The state.-
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, sdkFields
-
-
-
-
Method Detail
-
hostId
ComputeAttributes.Builder hostId(String hostId)
The host ID of the Dedicated Host on the asset.
- Parameters:
hostId- The host ID of the Dedicated Host on the asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
ComputeAttributes.Builder state(String state)
The state.
-
ACTIVE - The asset is available and can provide capacity for new compute resources.
-
ISOLATED - The asset is undergoing maintenance and can't provide capacity for new compute resources. Existing compute resources on the asset are not affected.
-
RETIRING - The underlying hardware for the asset is degraded. Capacity for new compute resources is reduced. Amazon Web Services sends notifications for resources that must be stopped before the asset can be replaced.
- Parameters:
state- The state.-
ACTIVE - The asset is available and can provide capacity for new compute resources.
-
ISOLATED - The asset is undergoing maintenance and can't provide capacity for new compute resources. Existing compute resources on the asset are not affected.
-
RETIRING - The underlying hardware for the asset is degraded. Capacity for new compute resources is reduced. Amazon Web Services sends notifications for resources that must be stopped before the asset can be replaced.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ComputeAssetState,ComputeAssetState
-
-
state
ComputeAttributes.Builder state(ComputeAssetState state)
The state.
-
ACTIVE - The asset is available and can provide capacity for new compute resources.
-
ISOLATED - The asset is undergoing maintenance and can't provide capacity for new compute resources. Existing compute resources on the asset are not affected.
-
RETIRING - The underlying hardware for the asset is degraded. Capacity for new compute resources is reduced. Amazon Web Services sends notifications for resources that must be stopped before the asset can be replaced.
- Parameters:
state- The state.-
ACTIVE - The asset is available and can provide capacity for new compute resources.
-
ISOLATED - The asset is undergoing maintenance and can't provide capacity for new compute resources. Existing compute resources on the asset are not affected.
-
RETIRING - The underlying hardware for the asset is degraded. Capacity for new compute resources is reduced. Amazon Web Services sends notifications for resources that must be stopped before the asset can be replaced.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ComputeAssetState,ComputeAssetState
-
-
instanceFamilies
ComputeAttributes.Builder instanceFamilies(Collection<String> instanceFamilies)
A list of the names of instance families that are currently associated with a given asset.
- Parameters:
instanceFamilies- A list of the names of instance families that are currently associated with a given asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceFamilies
ComputeAttributes.Builder instanceFamilies(String... instanceFamilies)
A list of the names of instance families that are currently associated with a given asset.
- Parameters:
instanceFamilies- A list of the names of instance families that are currently associated with a given asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-