Interface ExecuteFastResetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ExecuteFastResetResponse.Builder,
,ExecuteFastResetResponse> NeptunedataResponse.Builder
,SdkBuilder<ExecuteFastResetResponse.Builder,
,ExecuteFastResetResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ExecuteFastResetResponse
public static interface ExecuteFastResetResponse.Builder
extends NeptunedataResponse.Builder, SdkPojo, CopyableBuilder<ExecuteFastResetResponse.Builder,ExecuteFastResetResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExecuteFastResetResponse.Builder
payload
(Consumer<FastResetToken.Builder> payload) Thepayload
is only returned by theinitiateDatabaseReset
action, and contains the unique token to use with theperformDatabaseReset
action to make the reset occur.payload
(FastResetToken payload) Thepayload
is only returned by theinitiateDatabaseReset
action, and contains the unique token to use with theperformDatabaseReset
action to make the reset occur.Thestatus
is only returned for theperformDatabaseReset
action, and indicates whether or not the fast reset rquest is accepted.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.neptunedata.model.NeptunedataResponse.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 Details
-
status
The
status
is only returned for theperformDatabaseReset
action, and indicates whether or not the fast reset rquest is accepted.- Parameters:
status
- Thestatus
is only returned for theperformDatabaseReset
action, and indicates whether or not the fast reset rquest is accepted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
The
payload
is only returned by theinitiateDatabaseReset
action, and contains the unique token to use with theperformDatabaseReset
action to make the reset occur.- Parameters:
payload
- Thepayload
is only returned by theinitiateDatabaseReset
action, and contains the unique token to use with theperformDatabaseReset
action to make the reset occur.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
The
This is a convenience method that creates an instance of thepayload
is only returned by theinitiateDatabaseReset
action, and contains the unique token to use with theperformDatabaseReset
action to make the reset occur.FastResetToken.Builder
avoiding the need to create one manually viaFastResetToken.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topayload(FastResetToken)
.- Parameters:
payload
- a consumer that will call methods onFastResetToken.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-