Interface InstanceCreditSpecificationRequest.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<InstanceCreditSpecificationRequest.Builder,InstanceCreditSpecificationRequest>
,SdkBuilder<InstanceCreditSpecificationRequest.Builder,InstanceCreditSpecificationRequest>
,SdkPojo
- Enclosing class:
- InstanceCreditSpecificationRequest
public static interface InstanceCreditSpecificationRequest.Builder extends SdkPojo, CopyableBuilder<InstanceCreditSpecificationRequest.Builder,InstanceCreditSpecificationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstanceCreditSpecificationRequest.Builder
cpuCredits(String cpuCredits)
The credit option for CPU usage of the instance.InstanceCreditSpecificationRequest.Builder
instanceId(String instanceId)
The ID of the instance.-
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
-
instanceId
InstanceCreditSpecificationRequest.Builder instanceId(String instanceId)
The ID of the instance.
- Parameters:
instanceId
- The ID of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cpuCredits
InstanceCreditSpecificationRequest.Builder cpuCredits(String cpuCredits)
The credit option for CPU usage of the instance.
Valid values:
standard
|unlimited
T3 instances with
host
tenancy do not support theunlimited
CPU credit option.- Parameters:
cpuCredits
- The credit option for CPU usage of the instance.Valid values:
standard
|unlimited
T3 instances with
host
tenancy do not support theunlimited
CPU credit option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-