Interface ListScopesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListScopesResponse.Builder,ListScopesResponse>,NetworkFlowMonitorResponse.Builder,SdkBuilder<ListScopesResponse.Builder,ListScopesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListScopesResponse
public static interface ListScopesResponse.Builder extends NetworkFlowMonitorResponse.Builder, SdkPojo, CopyableBuilder<ListScopesResponse.Builder,ListScopesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListScopesResponse.BuildernextToken(String nextToken)The token for the next set of results.ListScopesResponse.Builderscopes(Collection<ScopeSummary> scopes)The scopes returned by the call.ListScopesResponse.Builderscopes(Consumer<ScopeSummary.Builder>... scopes)The scopes returned by the call.ListScopesResponse.Builderscopes(ScopeSummary... scopes)The scopes returned by the call.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.networkflowmonitor.model.NetworkFlowMonitorResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
scopes
ListScopesResponse.Builder scopes(Collection<ScopeSummary> scopes)
The scopes returned by the call.
- Parameters:
scopes- The scopes returned by the call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
ListScopesResponse.Builder scopes(ScopeSummary... scopes)
The scopes returned by the call.
- Parameters:
scopes- The scopes returned by the call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
ListScopesResponse.Builder scopes(Consumer<ScopeSummary.Builder>... scopes)
The scopes returned by the call.
This is a convenience method that creates an instance of theScopeSummary.Builderavoiding the need to create one manually viaScopeSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#scopes(List.) - Parameters:
scopes- a consumer that will call methods onScopeSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#scopes(java.util.Collection)
-
nextToken
ListScopesResponse.Builder nextToken(String nextToken)
The token for the next set of results. You receive this token from a previous call.
- Parameters:
nextToken- The token for the next set of results. You receive this token from a previous call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-