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