@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IotSiteWiseCustomerManagedDatastoreS3Storage extends Object implements Serializable, Cloneable, StructuredPojo
Used to store data used by IoT SiteWise in an Amazon S3 bucket that you manage. You can't change the choice of Amazon S3 storage after your data store is created.
Constructor and Description |
---|
IotSiteWiseCustomerManagedDatastoreS3Storage() |
Modifier and Type | Method and Description |
---|---|
IotSiteWiseCustomerManagedDatastoreS3Storage |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
The name of the Amazon S3 bucket where your data is stored.
|
String |
getKeyPrefix()
(Optional) The prefix used to create the keys of the data store data objects.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucket(String bucket)
The name of the Amazon S3 bucket where your data is stored.
|
void |
setKeyPrefix(String keyPrefix)
(Optional) The prefix used to create the keys of the data store data objects.
|
String |
toString()
Returns a string representation of this object.
|
IotSiteWiseCustomerManagedDatastoreS3Storage |
withBucket(String bucket)
The name of the Amazon S3 bucket where your data is stored.
|
IotSiteWiseCustomerManagedDatastoreS3Storage |
withKeyPrefix(String keyPrefix)
(Optional) The prefix used to create the keys of the data store data objects.
|
public IotSiteWiseCustomerManagedDatastoreS3Storage()
public void setBucket(String bucket)
The name of the Amazon S3 bucket where your data is stored.
bucket
- The name of the Amazon S3 bucket where your data is stored.public String getBucket()
The name of the Amazon S3 bucket where your data is stored.
public IotSiteWiseCustomerManagedDatastoreS3Storage withBucket(String bucket)
The name of the Amazon S3 bucket where your data is stored.
bucket
- The name of the Amazon S3 bucket where your data is stored.public void setKeyPrefix(String keyPrefix)
(Optional) The prefix used to create the keys of the data store data objects. Each object in an Amazon S3 bucket has a key that is its unique identifier in 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 data store data objects. Each object in an Amazon S3
bucket has a key that is its unique identifier in 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 data store data objects. Each object in an Amazon S3 bucket has a key that is its unique identifier in the bucket. Each object in a bucket has exactly one key. The prefix must end with a forward slash (/).
public IotSiteWiseCustomerManagedDatastoreS3Storage withKeyPrefix(String keyPrefix)
(Optional) The prefix used to create the keys of the data store data objects. Each object in an Amazon S3 bucket has a key that is its unique identifier in 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 data store data objects. Each object in an Amazon S3
bucket has a key that is its unique identifier in the bucket. Each object in a bucket has exactly one key.
The prefix must end with a forward slash (/).public String toString()
toString
in class Object
Object.toString()
public IotSiteWiseCustomerManagedDatastoreS3Storage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.