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.Builderpayload(Consumer<FastResetToken.Builder> payload) Thepayloadis only returned by theinitiateDatabaseResetaction, and contains the unique token to use with theperformDatabaseResetaction to make the reset occur.payload(FastResetToken payload) Thepayloadis only returned by theinitiateDatabaseResetaction, and contains the unique token to use with theperformDatabaseResetaction to make the reset occur.Thestatusis only returned for theperformDatabaseResetaction, and indicates whether or not the fast reset rquest is accepted.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.neptunedata.model.NeptunedataResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
status
The
statusis only returned for theperformDatabaseResetaction, and indicates whether or not the fast reset rquest is accepted.- Parameters:
status- Thestatusis only returned for theperformDatabaseResetaction, 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
payloadis only returned by theinitiateDatabaseResetaction, and contains the unique token to use with theperformDatabaseResetaction to make the reset occur.- Parameters:
payload- Thepayloadis only returned by theinitiateDatabaseResetaction, and contains the unique token to use with theperformDatabaseResetaction 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 thepayloadis only returned by theinitiateDatabaseResetaction, and contains the unique token to use with theperformDatabaseResetaction to make the reset occur.FastResetToken.Builderavoiding the need to create one manually viaFastResetToken.builder().When the
Consumercompletes,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:
-