Interface GetOutpostInstanceTypesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetOutpostInstanceTypesResponse.Builder,,GetOutpostInstanceTypesResponse> OutpostsResponse.Builder,SdkBuilder<GetOutpostInstanceTypesResponse.Builder,,GetOutpostInstanceTypesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetOutpostInstanceTypesResponse
@Mutable
@NotThreadSafe
public static interface GetOutpostInstanceTypesResponse.Builder
extends OutpostsResponse.Builder, SdkPojo, CopyableBuilder<GetOutpostInstanceTypesResponse.Builder,GetOutpostInstanceTypesResponse>
-
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.outpostArn(String outpostArn) Sets the value of the OutpostArn property for this object.The ID of the Outpost.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
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
GetOutpostInstanceTypesResponse.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.
-
outpostId
The ID of the Outpost.
- Parameters:
outpostId- The ID of the Outpost.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outpostArn
Sets the value of the OutpostArn property for this object.- Parameters:
outpostArn- The new value for the OutpostArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-