Interface GetDefaultCreditSpecificationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetDefaultCreditSpecificationResponse.Builder,GetDefaultCreditSpecificationResponse>
,Ec2Response.Builder
,SdkBuilder<GetDefaultCreditSpecificationResponse.Builder,GetDefaultCreditSpecificationResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- GetDefaultCreditSpecificationResponse
public static interface GetDefaultCreditSpecificationResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetDefaultCreditSpecificationResponse.Builder,GetDefaultCreditSpecificationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetDefaultCreditSpecificationResponse.Builder
instanceFamilyCreditSpecification(Consumer<InstanceFamilyCreditSpecification.Builder> instanceFamilyCreditSpecification)
The default credit option for CPU usage of the instance family.GetDefaultCreditSpecificationResponse.Builder
instanceFamilyCreditSpecification(InstanceFamilyCreditSpecification instanceFamilyCreditSpecification)
The default credit option for CPU usage of the instance family.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
instanceFamilyCreditSpecification
GetDefaultCreditSpecificationResponse.Builder instanceFamilyCreditSpecification(InstanceFamilyCreditSpecification instanceFamilyCreditSpecification)
The default credit option for CPU usage of the instance family.
- Parameters:
instanceFamilyCreditSpecification
- The default credit option for CPU usage of the instance family.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceFamilyCreditSpecification
default GetDefaultCreditSpecificationResponse.Builder instanceFamilyCreditSpecification(Consumer<InstanceFamilyCreditSpecification.Builder> instanceFamilyCreditSpecification)
The default credit option for CPU usage of the instance family.
This is a convenience method that creates an instance of theInstanceFamilyCreditSpecification.Builder
avoiding the need to create one manually viaInstanceFamilyCreditSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceFamilyCreditSpecification(InstanceFamilyCreditSpecification)
.- Parameters:
instanceFamilyCreditSpecification
- a consumer that will call methods onInstanceFamilyCreditSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
instanceFamilyCreditSpecification(InstanceFamilyCreditSpecification)
-
-