Package com.amazonaws.services.iot.model
Class S3Action
java.lang.Object
com.amazonaws.services.iot.model.S3Action
- All Implemented Interfaces:
Serializable
,Cloneable
Describes an action to write data to an Amazon S3 bucket.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The Amazon S3 bucket.getKey()
The object key.The ARN of the IAM role that grants access.int
hashCode()
void
setBucketName
(String bucketName) The Amazon S3 bucket.void
The object key.void
setRoleArn
(String roleArn) The ARN of the IAM role that grants access.toString()
Returns a string representation of this object; useful for testing and debugging.withBucketName
(String bucketName) The Amazon S3 bucket.The object key.withRoleArn
(String roleArn) The ARN of the IAM role that grants access.
-
Constructor Details
-
S3Action
public S3Action()
-
-
Method Details
-
setRoleArn
The ARN of the IAM role that grants access.
- Parameters:
roleArn
- The ARN of the IAM role that grants access.
-
getRoleArn
The ARN of the IAM role that grants access.
- Returns:
- The ARN of the IAM role that grants access.
-
withRoleArn
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
The Amazon S3 bucket.
- Parameters:
bucketName
- The Amazon S3 bucket.
-
getBucketName
The Amazon S3 bucket.
- Returns:
- The Amazon S3 bucket.
-
withBucketName
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
The object key.
- Parameters:
key
- The object key.
-
getKey
The object key.
- Returns:
- The object key.
-
withKey
The object key.
- Parameters:
key
- The object key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-