Class S3Action

java.lang.Object
com.amazonaws.services.iot.model.S3Action
All Implemented Interfaces:
Serializable, Cloneable

public class S3Action extends Object implements Serializable, Cloneable

Describes an action to write data to an Amazon S3 bucket.

See Also:
  • Constructor Details

    • S3Action

      public S3Action()
  • Method Details

    • 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public S3Action clone()
      Overrides:
      clone in class Object