public class InstanceStorageConfig
extends java.lang.Object
implements java.io.Serializable
The storage configuration for the instance.
Constructor and Description |
---|
InstanceStorageConfig() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAssociationId()
The existing association identifier that uniquely identifies the resource
type and storage config for the given instance ID.
|
KinesisFirehoseConfig |
getKinesisFirehoseConfig()
The configuration of the Kinesis Firehose delivery stream.
|
KinesisStreamConfig |
getKinesisStreamConfig()
The configuration of the Kinesis data stream.
|
KinesisVideoStreamConfig |
getKinesisVideoStreamConfig()
The configuration of the Kinesis video stream.
|
S3Config |
getS3Config()
The S3 configuration.
|
java.lang.String |
getStorageType()
A valid storage type.
|
int |
hashCode() |
void |
setAssociationId(java.lang.String associationId)
The existing association identifier that uniquely identifies the resource
type and storage config for the given instance ID.
|
void |
setKinesisFirehoseConfig(KinesisFirehoseConfig kinesisFirehoseConfig)
The configuration of the Kinesis Firehose delivery stream.
|
void |
setKinesisStreamConfig(KinesisStreamConfig kinesisStreamConfig)
The configuration of the Kinesis data stream.
|
void |
setKinesisVideoStreamConfig(KinesisVideoStreamConfig kinesisVideoStreamConfig)
The configuration of the Kinesis video stream.
|
void |
setS3Config(S3Config s3Config)
The S3 configuration.
|
void |
setStorageType(StorageType storageType)
A valid storage type.
|
void |
setStorageType(java.lang.String storageType)
A valid storage type.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InstanceStorageConfig |
withAssociationId(java.lang.String associationId)
The existing association identifier that uniquely identifies the resource
type and storage config for the given instance ID.
|
InstanceStorageConfig |
withKinesisFirehoseConfig(KinesisFirehoseConfig kinesisFirehoseConfig)
The configuration of the Kinesis Firehose delivery stream.
|
InstanceStorageConfig |
withKinesisStreamConfig(KinesisStreamConfig kinesisStreamConfig)
The configuration of the Kinesis data stream.
|
InstanceStorageConfig |
withKinesisVideoStreamConfig(KinesisVideoStreamConfig kinesisVideoStreamConfig)
The configuration of the Kinesis video stream.
|
InstanceStorageConfig |
withS3Config(S3Config s3Config)
The S3 configuration.
|
InstanceStorageConfig |
withStorageType(StorageType storageType)
A valid storage type.
|
InstanceStorageConfig |
withStorageType(java.lang.String storageType)
A valid storage type.
|
public java.lang.String getAssociationId()
The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
Constraints:
Length: 1 - 100
The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
public void setAssociationId(java.lang.String associationId)
The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
Constraints:
Length: 1 - 100
associationId
- The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
public InstanceStorageConfig withAssociationId(java.lang.String associationId)
The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
associationId
- The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
public java.lang.String getStorageType()
A valid storage type.
Constraints:
Allowed Values: S3, KINESIS_VIDEO_STREAM, KINESIS_STREAM,
KINESIS_FIREHOSE
A valid storage type.
StorageType
public void setStorageType(java.lang.String storageType)
A valid storage type.
Constraints:
Allowed Values: S3, KINESIS_VIDEO_STREAM, KINESIS_STREAM,
KINESIS_FIREHOSE
storageType
- A valid storage type.
StorageType
public InstanceStorageConfig withStorageType(java.lang.String storageType)
A valid storage type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: S3, KINESIS_VIDEO_STREAM, KINESIS_STREAM,
KINESIS_FIREHOSE
storageType
- A valid storage type.
StorageType
public void setStorageType(StorageType storageType)
A valid storage type.
Constraints:
Allowed Values: S3, KINESIS_VIDEO_STREAM, KINESIS_STREAM,
KINESIS_FIREHOSE
storageType
- A valid storage type.
StorageType
public InstanceStorageConfig withStorageType(StorageType storageType)
A valid storage type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: S3, KINESIS_VIDEO_STREAM, KINESIS_STREAM,
KINESIS_FIREHOSE
storageType
- A valid storage type.
StorageType
public S3Config getS3Config()
The S3 configuration.
The S3 configuration.
public void setS3Config(S3Config s3Config)
The S3 configuration.
s3Config
- The S3 configuration.
public InstanceStorageConfig withS3Config(S3Config s3Config)
The S3 configuration.
Returns a reference to this object so that method calls can be chained together.
s3Config
- The S3 configuration.
public KinesisVideoStreamConfig getKinesisVideoStreamConfig()
The configuration of the Kinesis video stream.
The configuration of the Kinesis video stream.
public void setKinesisVideoStreamConfig(KinesisVideoStreamConfig kinesisVideoStreamConfig)
The configuration of the Kinesis video stream.
kinesisVideoStreamConfig
- The configuration of the Kinesis video stream.
public InstanceStorageConfig withKinesisVideoStreamConfig(KinesisVideoStreamConfig kinesisVideoStreamConfig)
The configuration of the Kinesis video stream.
Returns a reference to this object so that method calls can be chained together.
kinesisVideoStreamConfig
- The configuration of the Kinesis video stream.
public KinesisStreamConfig getKinesisStreamConfig()
The configuration of the Kinesis data stream.
The configuration of the Kinesis data stream.
public void setKinesisStreamConfig(KinesisStreamConfig kinesisStreamConfig)
The configuration of the Kinesis data stream.
kinesisStreamConfig
- The configuration of the Kinesis data stream.
public InstanceStorageConfig withKinesisStreamConfig(KinesisStreamConfig kinesisStreamConfig)
The configuration of the Kinesis data stream.
Returns a reference to this object so that method calls can be chained together.
kinesisStreamConfig
- The configuration of the Kinesis data stream.
public KinesisFirehoseConfig getKinesisFirehoseConfig()
The configuration of the Kinesis Firehose delivery stream.
The configuration of the Kinesis Firehose delivery stream.
public void setKinesisFirehoseConfig(KinesisFirehoseConfig kinesisFirehoseConfig)
The configuration of the Kinesis Firehose delivery stream.
kinesisFirehoseConfig
- The configuration of the Kinesis Firehose delivery stream.
public InstanceStorageConfig withKinesisFirehoseConfig(KinesisFirehoseConfig kinesisFirehoseConfig)
The configuration of the Kinesis Firehose delivery stream.
Returns a reference to this object so that method calls can be chained together.
kinesisFirehoseConfig
- The configuration of the Kinesis Firehose delivery stream.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.