Class S3Action

    • Constructor Detail

      • S3Action

        public S3Action()
    • Method Detail

      • setRoleArn

        public void setRoleArn​(String roleArn)

        The ARN of the IAM role that grants access.

        Parameters:
        roleArn - The ARN of the IAM role that grants access.
      • getRoleArn

        public String getRoleArn()

        The ARN of the IAM role that grants access.

        Returns:
        The ARN of the IAM role that grants access.
      • withRoleArn

        public S3Action withRoleArn​(String roleArn)

        The ARN of the IAM role that grants access.

        Parameters:
        roleArn - The ARN of the IAM role that grants access.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setBucketName

        public void setBucketName​(String bucketName)

        The Amazon S3 bucket.

        Parameters:
        bucketName - The Amazon S3 bucket.
      • getBucketName

        public String getBucketName()

        The Amazon S3 bucket.

        Returns:
        The Amazon S3 bucket.
      • withBucketName

        public S3Action withBucketName​(String bucketName)

        The Amazon S3 bucket.

        Parameters:
        bucketName - The Amazon S3 bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setKey

        public void setKey​(String key)

        The object key.

        Parameters:
        key - The object key.
      • getKey

        public String getKey()

        The object key.

        Returns:
        The object key.
      • withKey

        public S3Action withKey​(String key)

        The object key.

        Parameters:
        key - The object key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object