JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
  • Summary:
  • Nested |
  • Enum Constants |
  • Field |
  • Method
  • Detail:
  • Enum Constants |
  • Field |
  • Method
com.amazonaws.services.s3.internal

Enum BucketNameUtils

    • Method Detail

      • values

        public static BucketNameUtils[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (BucketNameUtils c : BucketNameUtils.values())
         System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BucketNameUtils valueOf(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • isValidV2BucketName

        public static boolean isValidV2BucketName(String bucketName)
        Returns true if the specified bucket name can be addressed using V2, virtual host style, addressing. Otherwise, returns false indicating that the bucket must be addressed using V1, path style, addressing.
        Parameters:
        bucketName - The name of the bucket to check.
        Returns:
        True if the specified bucket name can be addressed in V2, virtual host style, addressing otherwise false if V1, path style, addressing is required.
      • isDNSBucketName

        public static boolean isDNSBucketName(String bucketName)
        Convience method that allows the DNS rules to be altered for different SDKs.
Skip navigation links
  • Summary:
  • Nested |
  • Enum Constants |
  • Field |
  • Method
  • Detail:
  • Enum Constants |
  • Field |
  • Method

AltStyle によって変換されたページ (->オリジナル) /