Interface AwsS3BucketWebsiteConfigurationRedirectTo.Builder

    • Method Detail

      • hostname

        AwsS3BucketWebsiteConfigurationRedirectTo.Builder hostname​(String hostname)

        The name of the host to redirect requests to.

        Parameters:
        hostname - The name of the host to redirect requests to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • protocol

        AwsS3BucketWebsiteConfigurationRedirectTo.Builder protocol​(String protocol)

        The protocol to use when redirecting requests. By default, this field uses the same protocol as the original request. Valid values are http or https.

        Parameters:
        protocol - The protocol to use when redirecting requests. By default, this field uses the same protocol as the original request. Valid values are http or https.
        Returns:
        Returns a reference to this object so that method calls can be chained together.