@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 AWS IoT Analytics.
|
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 AWS IoT Analytics.
|
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 AWS IoT Analytics.
|
public void setServiceManagedS3(ServiceManagedChannelS3Storage serviceManagedS3)
Use this to store channel data in an S3 bucket managed by AWS IoT Analytics. You cannot change the choice of service-managed or customer-managed S3 storage after the channel is created.
serviceManagedS3
- Use this to store channel data in an S3 bucket managed by AWS IoT Analytics. You cannot change the choice
of service-managed or customer-managed S3 storage after the channel is created.public ServiceManagedChannelS3Storage getServiceManagedS3()
Use this to store channel data in an S3 bucket managed by AWS IoT Analytics. You cannot change the choice of service-managed or customer-managed S3 storage after the channel is created.
public ChannelStorage withServiceManagedS3(ServiceManagedChannelS3Storage serviceManagedS3)
Use this to store channel data in an S3 bucket managed by AWS IoT Analytics. You cannot change the choice of service-managed or customer-managed S3 storage after the channel is created.
serviceManagedS3
- Use this to store channel data in an S3 bucket managed by AWS IoT Analytics. You cannot change the choice
of service-managed or customer-managed S3 storage after the channel is created.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. You cannot change the choice of service-managed or
customer-managed S3 storage after the channel is created.
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. You cannot change the choice of service-managed or
customer-managed S3 storage after the channel is created.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. You cannot change the choice of service-managed or
customer-managed S3 storage after the channel is created.
retentionPeriod
parameter is ignored. You cannot change the choice of service-managed or
customer-managed S3 storage after the channel is created.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. You cannot change the choice of service-managed or
customer-managed S3 storage after the channel is created.
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. You cannot change the choice of service-managed or
customer-managed S3 storage after the channel is created.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.