Interface GetVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetVersionsResponse.Builder,,GetVersionsResponse> EvsResponse.Builder,SdkBuilder<GetVersionsResponse.Builder,,GetVersionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetVersionsResponse
-
Method Summary
Modifier and TypeMethodDescriptioninstanceTypeEsxVersions(Collection<InstanceTypeEsxVersionsInfo> instanceTypeEsxVersions) A list of EC2 instance types and their available ESX versions.instanceTypeEsxVersions(Consumer<InstanceTypeEsxVersionsInfo.Builder>... instanceTypeEsxVersions) A list of EC2 instance types and their available ESX versions.instanceTypeEsxVersions(InstanceTypeEsxVersionsInfo... instanceTypeEsxVersions) A list of EC2 instance types and their available ESX versions.vcfVersions(Collection<VcfVersionInfo> vcfVersions) A list of VCF versions with their availability status, default ESX version, and instance types.vcfVersions(Consumer<VcfVersionInfo.Builder>... vcfVersions) A list of VCF versions with their availability status, default ESX version, and instance types.vcfVersions(VcfVersionInfo... vcfVersions) A list of VCF versions with their availability status, default ESX version, and instance types.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.evs.model.EvsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
vcfVersions
A list of VCF versions with their availability status, default ESX version, and instance types.
- Parameters:
vcfVersions- A list of VCF versions with their availability status, default ESX version, and instance types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vcfVersions
A list of VCF versions with their availability status, default ESX version, and instance types.
- Parameters:
vcfVersions- A list of VCF versions with their availability status, default ESX version, and instance types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vcfVersions
A list of VCF versions with their availability status, default ESX version, and instance types.
This is a convenience method that creates an instance of theVcfVersionInfo.Builderavoiding the need to create one manually viaVcfVersionInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovcfVersions(List<VcfVersionInfo>).- Parameters:
vcfVersions- a consumer that will call methods onVcfVersionInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceTypeEsxVersions
GetVersionsResponse.Builder instanceTypeEsxVersions(Collection<InstanceTypeEsxVersionsInfo> instanceTypeEsxVersions) A list of EC2 instance types and their available ESX versions.
- Parameters:
instanceTypeEsxVersions- A list of EC2 instance types and their available ESX versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceTypeEsxVersions
GetVersionsResponse.Builder instanceTypeEsxVersions(InstanceTypeEsxVersionsInfo... instanceTypeEsxVersions) A list of EC2 instance types and their available ESX versions.
- Parameters:
instanceTypeEsxVersions- A list of EC2 instance types and their available ESX versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceTypeEsxVersions
GetVersionsResponse.Builder instanceTypeEsxVersions(Consumer<InstanceTypeEsxVersionsInfo.Builder>... instanceTypeEsxVersions) A list of EC2 instance types and their available ESX versions.
This is a convenience method that creates an instance of theInstanceTypeEsxVersionsInfo.Builderavoiding the need to create one manually viaInstanceTypeEsxVersionsInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinstanceTypeEsxVersions(List<InstanceTypeEsxVersionsInfo>).- Parameters:
instanceTypeEsxVersions- a consumer that will call methods onInstanceTypeEsxVersionsInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-