Interface ListContextChangesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListContextChangesResponse.Builder,,ListContextChangesResponse> NetworkManagerResponse.Builder,SdkBuilder<ListContextChangesResponse.Builder,,ListContextChangesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListContextChangesResponse
@Mutable
@NotThreadSafe
public static interface ListContextChangesResponse.Builder
extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<ListContextChangesResponse.Builder,ListContextChangesResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncontextChanges(Collection<ContextChange> contextChanges) The context entries that were added or removed.contextChanges(Consumer<ContextChange.Builder>... contextChanges) The context entries that were added or removed.contextChanges(ContextChange... contextChanges) The context entries that were added or removed.fromVersionId(String fromVersionId) The version that the changes start from.The token for the next page of results.toVersionId(String toVersionId) The version that the changes bring the context entries up to.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
-
contextChanges
The context entries that were added or removed.
- Parameters:
contextChanges- The context entries that were added or removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contextChanges
The context entries that were added or removed.
- Parameters:
contextChanges- The context entries that were added or removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contextChanges
ListContextChangesResponse.Builder contextChanges(Consumer<ContextChange.Builder>... contextChanges) The context entries that were added or removed.
This is a convenience method that creates an instance of theContextChange.Builderavoiding the need to create one manually viaContextChange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontextChanges(List<ContextChange>).- Parameters:
contextChanges- a consumer that will call methods onContextChange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fromVersionId
The version that the changes start from.
- Parameters:
fromVersionId- The version that the changes start from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toVersionId
The version that the changes bring the context entries up to. To get later changes, specify this value as
FromVersionIdin your next request. All pages of the same request return the same version.- Parameters:
toVersionId- The version that the changes bring the context entries up to. To get later changes, specify this value asFromVersionIdin your next request. All pages of the same request return the same version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-