Interface RestoreRequest.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<RestoreRequest.Builder,RestoreRequest>
,SdkBuilder<RestoreRequest.Builder,RestoreRequest>
,SdkPojo
- Enclosing class:
- RestoreRequest
public static interface RestoreRequest.Builder extends SdkPojo, CopyableBuilder<RestoreRequest.Builder,RestoreRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RestoreRequest.Builder
days(Integer days)
Lifetime of the active copy in days.RestoreRequest.Builder
description(String description)
The optional description for the job.default RestoreRequest.Builder
glacierJobParameters(Consumer<GlacierJobParameters.Builder> glacierJobParameters)
S3 Glacier related parameters pertaining to this job.RestoreRequest.Builder
glacierJobParameters(GlacierJobParameters glacierJobParameters)
S3 Glacier related parameters pertaining to this job.default RestoreRequest.Builder
outputLocation(Consumer<OutputLocation.Builder> outputLocation)
Describes the location where the restore job's output is stored.RestoreRequest.Builder
outputLocation(OutputLocation outputLocation)
Describes the location where the restore job's output is stored.default RestoreRequest.Builder
selectParameters(Consumer<SelectParameters.Builder> selectParameters)
Describes the parameters for Select job types.RestoreRequest.Builder
selectParameters(SelectParameters selectParameters)
Describes the parameters for Select job types.RestoreRequest.Builder
tier(String tier)
Retrieval tier at which the restore will be processed.RestoreRequest.Builder
tier(Tier tier)
Retrieval tier at which the restore will be processed.RestoreRequest.Builder
type(String type)
Type of restore request.RestoreRequest.Builder
type(RestoreRequestType type)
Type of restore request.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
days
RestoreRequest.Builder days(Integer days)
Lifetime of the active copy in days. Do not use with restores that specify
OutputLocation
.The Days element is required for regular restores, and must not be provided for select requests.
- Parameters:
days
- Lifetime of the active copy in days. Do not use with restores that specifyOutputLocation
.The Days element is required for regular restores, and must not be provided for select requests.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
glacierJobParameters
RestoreRequest.Builder glacierJobParameters(GlacierJobParameters glacierJobParameters)
S3 Glacier related parameters pertaining to this job. Do not use with restores that specify
OutputLocation
.- Parameters:
glacierJobParameters
- S3 Glacier related parameters pertaining to this job. Do not use with restores that specifyOutputLocation
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
glacierJobParameters
default RestoreRequest.Builder glacierJobParameters(Consumer<GlacierJobParameters.Builder> glacierJobParameters)
S3 Glacier related parameters pertaining to this job. Do not use with restores that specify
This is a convenience method that creates an instance of theOutputLocation
.GlacierJobParameters.Builder
avoiding the need to create one manually viaGlacierJobParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toglacierJobParameters(GlacierJobParameters)
.- Parameters:
glacierJobParameters
- a consumer that will call methods onGlacierJobParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
glacierJobParameters(GlacierJobParameters)
-
type
RestoreRequest.Builder type(String type)
Type of restore request.
- Parameters:
type
- Type of restore request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RestoreRequestType
,RestoreRequestType
-
type
RestoreRequest.Builder type(RestoreRequestType type)
Type of restore request.
- Parameters:
type
- Type of restore request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RestoreRequestType
,RestoreRequestType
-
tier
RestoreRequest.Builder tier(String tier)
Retrieval tier at which the restore will be processed.
-
tier
RestoreRequest.Builder tier(Tier tier)
Retrieval tier at which the restore will be processed.
-
description
RestoreRequest.Builder description(String description)
The optional description for the job.
- Parameters:
description
- The optional description for the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectParameters
RestoreRequest.Builder selectParameters(SelectParameters selectParameters)
Describes the parameters for Select job types.
- Parameters:
selectParameters
- Describes the parameters for Select job types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectParameters
default RestoreRequest.Builder selectParameters(Consumer<SelectParameters.Builder> selectParameters)
Describes the parameters for Select job types.
This is a convenience method that creates an instance of theSelectParameters.Builder
avoiding the need to create one manually viaSelectParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toselectParameters(SelectParameters)
.- Parameters:
selectParameters
- a consumer that will call methods onSelectParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
selectParameters(SelectParameters)
-
outputLocation
RestoreRequest.Builder outputLocation(OutputLocation outputLocation)
Describes the location where the restore job's output is stored.
- Parameters:
outputLocation
- Describes the location where the restore job's output is stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputLocation
default RestoreRequest.Builder outputLocation(Consumer<OutputLocation.Builder> outputLocation)
Describes the location where the restore job's output is stored.
This is a convenience method that creates an instance of theOutputLocation.Builder
avoiding the need to create one manually viaOutputLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputLocation(OutputLocation)
.- Parameters:
outputLocation
- a consumer that will call methods onOutputLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
outputLocation(OutputLocation)
-
-