Interface AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder

    • Method Detail

      • httpRedirectCode

        AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder httpRedirectCode​(String httpRedirectCode)

        The HTTP redirect code to use in the response.

        Parameters:
        httpRedirectCode - The HTTP redirect code to use in the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • protocol

        AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder protocol​(String protocol)

        The protocol to use to redirect the request. By default, uses the protocol from the original request.

        Parameters:
        protocol - The protocol to use to redirect the request. By default, uses the protocol from the original request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • replaceKeyPrefixWith

        AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder replaceKeyPrefixWith​(String replaceKeyPrefixWith)

        The object key prefix to use in the redirect request.

        Cannot be provided if ReplaceKeyWith is present.

        Parameters:
        replaceKeyPrefixWith - The object key prefix to use in the redirect request.

        Cannot be provided if ReplaceKeyWith is present.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • replaceKeyWith

        AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder replaceKeyWith​(String replaceKeyWith)

        The specific object key to use in the redirect request.

        Cannot be provided if ReplaceKeyPrefixWith is present.

        Parameters:
        replaceKeyWith - The specific object key to use in the redirect request.

        Cannot be provided if ReplaceKeyPrefixWith is present.

        Returns:
        Returns a reference to this object so that method calls can be chained together.