@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomerManagedChannelS3StorageSummary extends Object implements Serializable, Cloneable, StructuredPojo
Used to store channel data in an S3 bucket that you manage.
Constructor and Description |
---|
CustomerManagedChannelS3StorageSummary() |
Modifier and Type | Method and Description |
---|---|
CustomerManagedChannelS3StorageSummary |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
The name of the S3 bucket in which channel data is stored.
|
String |
getKeyPrefix()
(Optional) The prefix used to create the keys of the channel data objects.
|
String |
getRoleArn()
The ARN of the role that grants IoT Analytics permission to interact with your Amazon S3 resources.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucket(String bucket)
The name of the S3 bucket in which channel data is stored.
|
void |
setKeyPrefix(String keyPrefix)
(Optional) The prefix used to create the keys of the channel data objects.
|
void |
setRoleArn(String roleArn)
The ARN of the role that grants IoT Analytics permission to interact with your Amazon S3 resources.
|
String |
toString()
Returns a string representation of this object.
|
CustomerManagedChannelS3StorageSummary |
withBucket(String bucket)
The name of the S3 bucket in which channel data is stored.
|
CustomerManagedChannelS3StorageSummary |
withKeyPrefix(String keyPrefix)
(Optional) The prefix used to create the keys of the channel data objects.
|
CustomerManagedChannelS3StorageSummary |
withRoleArn(String roleArn)
The ARN of the role that grants IoT Analytics permission to interact with your Amazon S3 resources.
|
public CustomerManagedChannelS3StorageSummary()
public void setBucket(String bucket)
The name of the S3 bucket in which channel data is stored.
bucket
- The name of the S3 bucket in which channel data is stored.public String getBucket()
The name of the S3 bucket in which channel data is stored.
public CustomerManagedChannelS3StorageSummary withBucket(String bucket)
The name of the S3 bucket in which channel data is stored.
bucket
- The name of the S3 bucket in which channel data is stored.public void setKeyPrefix(String keyPrefix)
(Optional) The prefix used to create the keys of the channel data objects. Each object in an S3 bucket has a key that is its unique identifier within the bucket (each object in a bucket has exactly one key). The prefix must end with a forward slash (/).
keyPrefix
- (Optional) The prefix used to create the keys of the channel data objects. Each object in an S3 bucket has
a key that is its unique identifier within the bucket (each object in a bucket has exactly one key). The
prefix must end with a forward slash (/).public String getKeyPrefix()
(Optional) The prefix used to create the keys of the channel data objects. Each object in an S3 bucket has a key that is its unique identifier within the bucket (each object in a bucket has exactly one key). The prefix must end with a forward slash (/).
public CustomerManagedChannelS3StorageSummary withKeyPrefix(String keyPrefix)
(Optional) The prefix used to create the keys of the channel data objects. Each object in an S3 bucket has a key that is its unique identifier within the bucket (each object in a bucket has exactly one key). The prefix must end with a forward slash (/).
keyPrefix
- (Optional) The prefix used to create the keys of the channel data objects. Each object in an S3 bucket has
a key that is its unique identifier within the bucket (each object in a bucket has exactly one key). The
prefix must end with a forward slash (/).public void setRoleArn(String roleArn)
The ARN of the role that grants IoT Analytics permission to interact with your Amazon S3 resources.
roleArn
- The ARN of the role that grants IoT Analytics permission to interact with your Amazon S3 resources.public String getRoleArn()
The ARN of the role that grants IoT Analytics permission to interact with your Amazon S3 resources.
public CustomerManagedChannelS3StorageSummary withRoleArn(String roleArn)
The ARN of the role that grants IoT Analytics permission to interact with your Amazon S3 resources.
roleArn
- The ARN of the role that grants IoT Analytics permission to interact with your Amazon S3 resources.public String toString()
toString
in class Object
Object.toString()
public CustomerManagedChannelS3StorageSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.