Interface GetOutpostInstanceTypesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetOutpostInstanceTypesResponse.Builder,GetOutpostInstanceTypesResponse>,OutpostsResponse.Builder,SdkBuilder<GetOutpostInstanceTypesResponse.Builder,GetOutpostInstanceTypesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetOutpostInstanceTypesResponse
public static interface GetOutpostInstanceTypesResponse.Builder extends OutpostsResponse.Builder, SdkPojo, CopyableBuilder<GetOutpostInstanceTypesResponse.Builder,GetOutpostInstanceTypesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetOutpostInstanceTypesResponse.BuilderinstanceTypes(Collection<InstanceTypeItem> instanceTypes)Sets the value of the InstanceTypes property for this object.GetOutpostInstanceTypesResponse.BuilderinstanceTypes(Consumer<InstanceTypeItem.Builder>... instanceTypes)Sets the value of the InstanceTypes property for this object.GetOutpostInstanceTypesResponse.BuilderinstanceTypes(InstanceTypeItem... instanceTypes)Sets the value of the InstanceTypes property for this object.GetOutpostInstanceTypesResponse.BuildernextToken(String nextToken)Sets the value of the NextToken property for this object.GetOutpostInstanceTypesResponse.BuilderoutpostArn(String outpostArn)Sets the value of the OutpostArn property for this object.GetOutpostInstanceTypesResponse.BuilderoutpostId(String outpostId)The ID of the Outpost.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.outposts.model.OutpostsResponse.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
-
instanceTypes
GetOutpostInstanceTypesResponse.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
GetOutpostInstanceTypesResponse.Builder instanceTypes(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
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 to#instanceTypes(List.) - 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:
#instanceTypes(java.util.Collection)
-
nextToken
GetOutpostInstanceTypesResponse.Builder nextToken(String 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
GetOutpostInstanceTypesResponse.Builder outpostId(String 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
GetOutpostInstanceTypesResponse.Builder outpostArn(String 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.
-
-