@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChannelStorage extends Object implements Serializable, Cloneable, StructuredPojo
Where channel data is stored. You may choose one of "serviceManagedS3" or "customerManagedS3" storage. If not specified, the default is "serviceManagedS3". This cannot be changed after creation of the channel.
Constructor and Description |
---|
ChannelStorage() |
Modifier and Type | Method and Description |
---|---|
ChannelStorage |
clone() |
boolean |
equals(Object obj) |
CustomerManagedChannelS3Storage |
getCustomerManagedS3()
Use this to store channel data in an S3 bucket that you manage.
|
ServiceManagedChannelS3Storage |
getServiceManagedS3()
Use this to store channel data in an S3 bucket managed by the AWS IoT Analytics service.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCustomerManagedS3(CustomerManagedChannelS3Storage customerManagedS3)
Use this to store channel data in an S3 bucket that you manage.
|
void |
setServiceManagedS3(ServiceManagedChannelS3Storage serviceManagedS3)
Use this to store channel data in an S3 bucket managed by the AWS IoT Analytics service.
|
String |
toString()
Returns a string representation of this object.
|
ChannelStorage |
withCustomerManagedS3(CustomerManagedChannelS3Storage customerManagedS3)
Use this to store channel data in an S3 bucket that you manage.
|
ChannelStorage |
withServiceManagedS3(ServiceManagedChannelS3Storage serviceManagedS3)
Use this to store channel data in an S3 bucket managed by the AWS IoT Analytics service.
|
public void setServiceManagedS3(ServiceManagedChannelS3Storage serviceManagedS3)
Use this to store channel data in an S3 bucket managed by the AWS IoT Analytics service. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the channel.
serviceManagedS3
- Use this to store channel data in an S3 bucket managed by the AWS IoT Analytics service. The choice of
service-managed or customer-managed S3 storage cannot be changed after creation of the channel.public ServiceManagedChannelS3Storage getServiceManagedS3()
Use this to store channel data in an S3 bucket managed by the AWS IoT Analytics service. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the channel.
public ChannelStorage withServiceManagedS3(ServiceManagedChannelS3Storage serviceManagedS3)
Use this to store channel data in an S3 bucket managed by the AWS IoT Analytics service. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the channel.
serviceManagedS3
- Use this to store channel data in an S3 bucket managed by the AWS IoT Analytics service. The choice of
service-managed or customer-managed S3 storage cannot be changed after creation of the channel.public void setCustomerManagedS3(CustomerManagedChannelS3Storage customerManagedS3)
Use this to store channel data in an S3 bucket that you manage. If customer managed storage is selected, the "retentionPeriod" parameter is ignored. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the channel.
customerManagedS3
- Use this to store channel data in an S3 bucket that you manage. If customer managed storage is selected,
the "retentionPeriod" parameter is ignored. The choice of service-managed or customer-managed S3 storage
cannot be changed after creation of the channel.public CustomerManagedChannelS3Storage getCustomerManagedS3()
Use this to store channel data in an S3 bucket that you manage. If customer managed storage is selected, the "retentionPeriod" parameter is ignored. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the channel.
public ChannelStorage withCustomerManagedS3(CustomerManagedChannelS3Storage customerManagedS3)
Use this to store channel data in an S3 bucket that you manage. If customer managed storage is selected, the "retentionPeriod" parameter is ignored. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the channel.
customerManagedS3
- Use this to store channel data in an S3 bucket that you manage. If customer managed storage is selected,
the "retentionPeriod" parameter is ignored. The choice of service-managed or customer-managed S3 storage
cannot be changed after creation of the channel.public String toString()
toString
in class Object
Object.toString()
public ChannelStorage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.