Interface StreamInfo.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StreamInfo.Builder,StreamInfo>,SdkBuilder<StreamInfo.Builder,StreamInfo>,SdkPojo
- Enclosing class:
- StreamInfo
public static interface StreamInfo.Builder extends SdkPojo, CopyableBuilder<StreamInfo.Builder,StreamInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StreamInfo.BuildercreationTime(Instant creationTime)A time stamp that indicates when the stream was created.StreamInfo.BuilderdataRetentionInHours(Integer dataRetentionInHours)How long the stream retains data, in hours.StreamInfo.BuilderdeviceName(String deviceName)The name of the device that is associated with the stream.StreamInfo.BuilderkmsKeyId(String kmsKeyId)The ID of the Key Management Service (KMS) key that Kinesis Video Streams uses to encrypt data on the stream.StreamInfo.BuildermediaType(String mediaType)TheMediaTypeof the stream.StreamInfo.Builderstatus(String status)The status of the stream.StreamInfo.Builderstatus(Status status)The status of the stream.StreamInfo.BuilderstreamARN(String streamARN)The Amazon Resource Name (ARN) of the stream.StreamInfo.BuilderstreamName(String streamName)The name of the stream.StreamInfo.Builderversion(String version)The version of the stream.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
deviceName
StreamInfo.Builder deviceName(String deviceName)
The name of the device that is associated with the stream.
- Parameters:
deviceName- The name of the device that is associated with the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamName
StreamInfo.Builder streamName(String streamName)
The name of the stream.
- Parameters:
streamName- The name of the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamARN
StreamInfo.Builder streamARN(String streamARN)
The Amazon Resource Name (ARN) of the stream.
- Parameters:
streamARN- The Amazon Resource Name (ARN) of the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaType
StreamInfo.Builder mediaType(String mediaType)
The
MediaTypeof the stream.- Parameters:
mediaType- TheMediaTypeof the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
StreamInfo.Builder kmsKeyId(String kmsKeyId)
The ID of the Key Management Service (KMS) key that Kinesis Video Streams uses to encrypt data on the stream.
- Parameters:
kmsKeyId- The ID of the Key Management Service (KMS) key that Kinesis Video Streams uses to encrypt data on the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
StreamInfo.Builder version(String version)
The version of the stream.
- Parameters:
version- The version of the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
StreamInfo.Builder status(String status)
The status of the stream.
-
status
StreamInfo.Builder status(Status status)
The status of the stream.
-
creationTime
StreamInfo.Builder creationTime(Instant creationTime)
A time stamp that indicates when the stream was created.
- Parameters:
creationTime- A time stamp that indicates when the stream was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataRetentionInHours
StreamInfo.Builder dataRetentionInHours(Integer dataRetentionInHours)
How long the stream retains data, in hours.
- Parameters:
dataRetentionInHours- How long the stream retains data, in hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-