Interface AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder,AwsS3BucketWebsiteConfigurationRoutingRuleRedirect>, SdkBuilder<AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder,AwsS3BucketWebsiteConfigurationRoutingRuleRedirect>, SdkPojo
Enclosing class:
AwsS3BucketWebsiteConfigurationRoutingRuleRedirect

public static interface AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder extends SdkPojo, CopyableBuilder<AwsS3BucketWebsiteConfigurationRoutingRuleRedirect.Builder,AwsS3BucketWebsiteConfigurationRoutingRuleRedirect>
  • Method Details

    • hostname

      The host name to use in the redirect request.

      Parameters:
      hostname - The host name to use in the redirect request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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

      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

      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.