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 Details

    • 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

      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:
    • 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:
    • 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.