Interface InstanceTypeOffering.Builder

All Superinterfaces:
Buildable, CopyableBuilder<InstanceTypeOffering.Builder,InstanceTypeOffering>, SdkBuilder<InstanceTypeOffering.Builder,InstanceTypeOffering>, SdkPojo
Enclosing class:
InstanceTypeOffering

@Mutable @NotThreadSafe public static interface InstanceTypeOffering.Builder extends SdkPojo, CopyableBuilder<InstanceTypeOffering.Builder,InstanceTypeOffering>
  • Method Details

    • instanceType

      InstanceTypeOffering.Builder instanceType(String instanceType)

      The instance type. For more information, see Instance types in the Amazon EC2 User Guide.

      Parameters:
      instanceType - The instance type. For more information, see Instance types in the Amazon EC2 User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • instanceType

      InstanceTypeOffering.Builder instanceType(InstanceType instanceType)

      The instance type. For more information, see Instance types in the Amazon EC2 User Guide.

      Parameters:
      instanceType - The instance type. For more information, see Instance types in the Amazon EC2 User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • locationType

      InstanceTypeOffering.Builder locationType(String locationType)

      The location type.

      Parameters:
      locationType - The location type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • locationType

      InstanceTypeOffering.Builder locationType(LocationType locationType)

      The location type.

      Parameters:
      locationType - The location type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • location

      The identifier for the location. This depends on the location type. For example, if the location type is region, the location is the Region code (for example, us-east-2.)

      Parameters:
      location - The identifier for the location. This depends on the location type. For example, if the location type is region, the location is the Region code (for example, us-east-2.)
      Returns:
      Returns a reference to this object so that method calls can be chained together.