@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StreamInfo extends Object implements Serializable, Cloneable, StructuredPojo
An object describing a Kinesis video stream.
Constructor and Description |
---|
StreamInfo() |
Modifier and Type | Method and Description |
---|---|
StreamInfo |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
A time stamp that indicates when the stream was created.
|
Integer |
getDataRetentionInHours()
How long the stream retains data, in hours.
|
String |
getDeviceName()
The name of the device that is associated with the stream.
|
String |
getKmsKeyId()
The ID of the AWS Key Management Service (AWS KMS) key that Kinesis Video Streams uses to encrypt data on the
stream.
|
String |
getMediaType()
The
MediaType of the stream. |
String |
getStatus()
The status of the stream.
|
String |
getStreamARN()
The Amazon Resource Name (ARN) of the stream.
|
String |
getStreamName()
The name of the stream.
|
String |
getVersion()
The version of the stream.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationTime(Date creationTime)
A time stamp that indicates when the stream was created.
|
void |
setDataRetentionInHours(Integer dataRetentionInHours)
How long the stream retains data, in hours.
|
void |
setDeviceName(String deviceName)
The name of the device that is associated with the stream.
|
void |
setKmsKeyId(String kmsKeyId)
The ID of the AWS Key Management Service (AWS KMS) key that Kinesis Video Streams uses to encrypt data on the
stream.
|
void |
setMediaType(String mediaType)
The
MediaType of the stream. |
void |
setStatus(String status)
The status of the stream.
|
void |
setStreamARN(String streamARN)
The Amazon Resource Name (ARN) of the stream.
|
void |
setStreamName(String streamName)
The name of the stream.
|
void |
setVersion(String version)
The version of the stream.
|
String |
toString()
Returns a string representation of this object.
|
StreamInfo |
withCreationTime(Date creationTime)
A time stamp that indicates when the stream was created.
|
StreamInfo |
withDataRetentionInHours(Integer dataRetentionInHours)
How long the stream retains data, in hours.
|
StreamInfo |
withDeviceName(String deviceName)
The name of the device that is associated with the stream.
|
StreamInfo |
withKmsKeyId(String kmsKeyId)
The ID of the AWS Key Management Service (AWS KMS) key that Kinesis Video Streams uses to encrypt data on the
stream.
|
StreamInfo |
withMediaType(String mediaType)
The
MediaType of the stream. |
StreamInfo |
withStatus(Status status)
The status of the stream.
|
StreamInfo |
withStatus(String status)
The status of the stream.
|
StreamInfo |
withStreamARN(String streamARN)
The Amazon Resource Name (ARN) of the stream.
|
StreamInfo |
withStreamName(String streamName)
The name of the stream.
|
StreamInfo |
withVersion(String version)
The version of the stream.
|
public void setDeviceName(String deviceName)
The name of the device that is associated with the stream.
deviceName
- The name of the device that is associated with the stream.public String getDeviceName()
The name of the device that is associated with the stream.
public StreamInfo withDeviceName(String deviceName)
The name of the device that is associated with the stream.
deviceName
- The name of the device that is associated with the stream.public void setStreamName(String streamName)
The name of the stream.
streamName
- The name of the stream.public String getStreamName()
The name of the stream.
public StreamInfo withStreamName(String streamName)
The name of the stream.
streamName
- The name of the stream.public void setStreamARN(String streamARN)
The Amazon Resource Name (ARN) of the stream.
streamARN
- The Amazon Resource Name (ARN) of the stream.public String getStreamARN()
The Amazon Resource Name (ARN) of the stream.
public StreamInfo withStreamARN(String streamARN)
The Amazon Resource Name (ARN) of the stream.
streamARN
- The Amazon Resource Name (ARN) of the stream.public void setMediaType(String mediaType)
The MediaType
of the stream.
mediaType
- The MediaType
of the stream.public String getMediaType()
The MediaType
of the stream.
MediaType
of the stream.public StreamInfo withMediaType(String mediaType)
The MediaType
of the stream.
mediaType
- The MediaType
of the stream.public void setKmsKeyId(String kmsKeyId)
The ID of the AWS Key Management Service (AWS KMS) key that Kinesis Video Streams uses to encrypt data on the stream.
kmsKeyId
- The ID of the AWS Key Management Service (AWS KMS) key that Kinesis Video Streams uses to encrypt data on
the stream.public String getKmsKeyId()
The ID of the AWS Key Management Service (AWS KMS) key that Kinesis Video Streams uses to encrypt data on the stream.
public StreamInfo withKmsKeyId(String kmsKeyId)
The ID of the AWS Key Management Service (AWS KMS) key that Kinesis Video Streams uses to encrypt data on the stream.
kmsKeyId
- The ID of the AWS Key Management Service (AWS KMS) key that Kinesis Video Streams uses to encrypt data on
the stream.public void setVersion(String version)
The version of the stream.
version
- The version of the stream.public String getVersion()
The version of the stream.
public StreamInfo withVersion(String version)
The version of the stream.
version
- The version of the stream.public void setStatus(String status)
The status of the stream.
status
- The status of the stream.Status
public String getStatus()
The status of the stream.
Status
public StreamInfo withStatus(String status)
The status of the stream.
status
- The status of the stream.Status
public StreamInfo withStatus(Status status)
The status of the stream.
status
- The status of the stream.Status
public void setCreationTime(Date creationTime)
A time stamp that indicates when the stream was created.
creationTime
- A time stamp that indicates when the stream was created.public Date getCreationTime()
A time stamp that indicates when the stream was created.
public StreamInfo withCreationTime(Date creationTime)
A time stamp that indicates when the stream was created.
creationTime
- A time stamp that indicates when the stream was created.public void setDataRetentionInHours(Integer dataRetentionInHours)
How long the stream retains data, in hours.
dataRetentionInHours
- How long the stream retains data, in hours.public Integer getDataRetentionInHours()
How long the stream retains data, in hours.
public StreamInfo withDataRetentionInHours(Integer dataRetentionInHours)
How long the stream retains data, in hours.
dataRetentionInHours
- How long the stream retains data, in hours.public String toString()
toString
in class Object
Object.toString()
public StreamInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.