Interface GetOutpostSupportedInstanceTypesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetOutpostSupportedInstanceTypesResponse.Builder,,GetOutpostSupportedInstanceTypesResponse> OutpostsResponse.Builder,SdkBuilder<GetOutpostSupportedInstanceTypesResponse.Builder,,GetOutpostSupportedInstanceTypesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetOutpostSupportedInstanceTypesResponse
@Mutable
@NotThreadSafe
public static interface GetOutpostSupportedInstanceTypesResponse.Builder
extends OutpostsResponse.Builder, SdkPojo, CopyableBuilder<GetOutpostSupportedInstanceTypesResponse.Builder,GetOutpostSupportedInstanceTypesResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceTypes(Collection<InstanceTypeItem> instanceTypes) Sets the value of the InstanceTypes property for this object.instanceTypes(Consumer<InstanceTypeItem.Builder>... instanceTypes) Sets the value of the InstanceTypes property for this object.instanceTypes(InstanceTypeItem... instanceTypes) Sets the value of the InstanceTypes property for this object.Sets the value of the NextToken property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.outposts.model.OutpostsResponse.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
-
instanceTypes
GetOutpostSupportedInstanceTypesResponse.Builder instanceTypes(Collection<InstanceTypeItem> instanceTypes) Sets the value of the InstanceTypes property for this object.- Parameters:
instanceTypes- The new value for the InstanceTypes property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceTypes
Sets the value of the InstanceTypes property for this object.- Parameters:
instanceTypes- The new value for the InstanceTypes property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceTypes
GetOutpostSupportedInstanceTypesResponse.Builder instanceTypes(Consumer<InstanceTypeItem.Builder>... instanceTypes) Sets the value of the InstanceTypes property for this object. This is a convenience method that creates an instance of theInstanceTypeItem.Builderavoiding the need to create one manually viaInstanceTypeItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinstanceTypes(List<InstanceTypeItem>).- Parameters:
instanceTypes- a consumer that will call methods onInstanceTypeItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Sets the value of the NextToken property for this object.- Parameters:
nextToken- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-