Interface ListOutpostsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListOutpostsResponse.Builder,ListOutpostsResponse>,OutpostsResponse.Builder,SdkBuilder<ListOutpostsResponse.Builder,ListOutpostsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListOutpostsResponse
public static interface ListOutpostsResponse.Builder extends OutpostsResponse.Builder, SdkPojo, CopyableBuilder<ListOutpostsResponse.Builder,ListOutpostsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListOutpostsResponse.BuildernextToken(String nextToken)Sets the value of the NextToken property for this object.ListOutpostsResponse.Builderoutposts(Collection<Outpost> outposts)Sets the value of the Outposts property for this object.ListOutpostsResponse.Builderoutposts(Consumer<Outpost.Builder>... outposts)Sets the value of the Outposts property for this object.ListOutpostsResponse.Builderoutposts(Outpost... outposts)Sets the value of the Outposts property for this object.-
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
-
outposts
ListOutpostsResponse.Builder outposts(Collection<Outpost> outposts)
Sets the value of the Outposts property for this object.- Parameters:
outposts- The new value for the Outposts property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outposts
ListOutpostsResponse.Builder outposts(Outpost... outposts)
Sets the value of the Outposts property for this object.- Parameters:
outposts- The new value for the Outposts property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outposts
ListOutpostsResponse.Builder outposts(Consumer<Outpost.Builder>... outposts)
Sets the value of the Outposts property for this object. This is a convenience method that creates an instance of theOutpost.Builderavoiding the need to create one manually viaOutpost.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#outposts(List.) - Parameters:
outposts- a consumer that will call methods onOutpost.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#outposts(java.util.Collection)
-
nextToken
ListOutpostsResponse.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.
-
-