Interface RestoreBranchRequest.Builder
- All Superinterfaces:
AmplifyGen3Request.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<RestoreBranchRequest.Builder,,RestoreBranchRequest> SdkBuilder<RestoreBranchRequest.Builder,,RestoreBranchRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
RestoreBranchRequest
@Mutable
@NotThreadSafe
public static interface RestoreBranchRequest.Builder
extends AmplifyGen3Request.Builder, SdkPojo, CopyableBuilder<RestoreBranchRequest.Builder,RestoreBranchRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the production branch of the Production environment.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.restoreToTime(Instant restoreToTime) The point in time to restore the production branch to.Methods inherited from interface software.amazon.awssdk.services.amplifygen3.model.AmplifyGen3Request.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
branchArn
The Amazon Resource Name (ARN) of the production branch of the Production environment. Other branches can't be restored.
- Parameters:
branchArn- The Amazon Resource Name (ARN) of the production branch of the Production environment. Other branches can't be restored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restoreToTime
The point in time to restore the production branch to. The time must be within the window that GetRestoreWindow returns and can't be in the future. Fractions of a second are ignored.
- Parameters:
restoreToTime- The point in time to restore the production branch to. The time must be within the window that GetRestoreWindow returns and can't be in the future. Fractions of a second are ignored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
RestoreBranchRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
RestoreBranchRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-