Class ResourceDataSyncS3Destination

    • Method Detail

      • bucketName

        public final String bucketName()

        The name of the S3 bucket where the aggregated data is stored.

        Returns:
        The name of the S3 bucket where the aggregated data is stored.
      • prefix

        public final String prefix()

        An Amazon S3 prefix for the bucket.

        Returns:
        An Amazon S3 prefix for the bucket.
      • syncFormatAsString

        public final String syncFormatAsString()

        A supported sync format. The following format is currently supported: JsonSerDe

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

        Returns:
        A supported sync format. The following format is currently supported: JsonSerDe
        See Also:
        ResourceDataSyncS3Format
      • region

        public final String region()

        The Amazon Web Services Region with the S3 bucket targeted by the resource data sync.

        Returns:
        The Amazon Web Services Region with the S3 bucket targeted by the resource data sync.
      • awskmsKeyARN

        public final String awskmsKeyARN()

        The ARN of an encryption key for a destination in Amazon S3. Must belong to the same Region as the destination S3 bucket.

        Returns:
        The ARN of an encryption key for a destination in Amazon S3. Must belong to the same Region as the destination S3 bucket.
      • destinationDataSharing

        public final ResourceDataSyncDestinationDataSharing destinationDataSharing()

        Enables destination data sharing. By default, this field is null.

        Returns:
        Enables destination data sharing. By default, this field is null.
      • 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)