Interface ListNetworkScopesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListNetworkScopesResponse.Builder,,ListNetworkScopesResponse> NetworkManagerResponse.Builder,SdkBuilder<ListNetworkScopesResponse.Builder,,ListNetworkScopesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListNetworkScopesResponse
@Mutable
@NotThreadSafe
public static interface ListNetworkScopesResponse.Builder
extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<ListNetworkScopesResponse.Builder,ListNetworkScopesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnetworkScopes(Collection<NetworkScopeSummary> networkScopes) Information about the network scopes.networkScopes(Consumer<NetworkScopeSummary.Builder>... networkScopes) Information about the network scopes.networkScopes(NetworkScopeSummary... networkScopes) Information about the network scopes.The token for the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerResponse.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
-
networkScopes
Information about the network scopes.
- Parameters:
networkScopes- Information about the network scopes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkScopes
Information about the network scopes.
- Parameters:
networkScopes- Information about the network scopes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkScopes
ListNetworkScopesResponse.Builder networkScopes(Consumer<NetworkScopeSummary.Builder>... networkScopes) Information about the network scopes.
This is a convenience method that creates an instance of theNetworkScopeSummary.Builderavoiding the need to create one manually viaNetworkScopeSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonetworkScopes(List<NetworkScopeSummary>).- Parameters:
networkScopes- a consumer that will call methods onNetworkScopeSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next page of results.
- Parameters:
nextToken- The token for the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-