Class SourceS3Location

    • Method Detail

      • bucket

        public final String bucket()

        Name of the bucket.

        Returns:
        Name of the bucket.
      • key

        public final String key()

        Key of the object.

        Returns:
        Key of the object.
      • region

        public final S3BucketRegion region()

        Region of the bucket. Only required for Regions that are disabled by default. For more infomration about Regions that are disabled by default, see Enabling a Region in the AWS General Reference guide.

        If the service returns an enum value that is not available in the current SDK version, region will return S3BucketRegion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from regionAsString().

        Returns:
        Region of the bucket. Only required for Regions that are disabled by default. For more infomration about Regions that are disabled by default, see Enabling a Region in the AWS General Reference guide.
        See Also:
        S3BucketRegion
      • regionAsString

        public final String regionAsString()

        Region of the bucket. Only required for Regions that are disabled by default. For more infomration about Regions that are disabled by default, see Enabling a Region in the AWS General Reference guide.

        If the service returns an enum value that is not available in the current SDK version, region will return S3BucketRegion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from regionAsString().

        Returns:
        Region of the bucket. Only required for Regions that are disabled by default. For more infomration about Regions that are disabled by default, see Enabling a Region in the AWS General Reference guide.
        See Also:
        S3BucketRegion
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)