Interface RestoreRequest.Builder

    • 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 specify OutputLocation .

        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 specify OutputLocation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        RestoreRequest.Builder type​(String type)

        Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. Learn more

        Type of restore request.

        Parameters:
        type -

        Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. Learn more

        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)

        Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. Learn more

        Type of restore request.

        Parameters:
        type -

        Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. Learn more

        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.

        Parameters:
        tier - Retrieval tier at which the restore will be processed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Tier, Tier
      • tier

        RestoreRequest.Builder tier​(Tier tier)

        Retrieval tier at which the restore will be processed.

        Parameters:
        tier - Retrieval tier at which the restore will be processed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Tier, Tier
      • 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)

        Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. Learn more

        Describes the parameters for Select job types.

        Parameters:
        selectParameters -

        Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. Learn more

        Describes the parameters for Select job types.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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.