public class ChannelInfo
extends java.lang.Object
implements java.io.Serializable
A structure that encapsulates a signaling channel's metadata and properties.
Constructor and Description |
---|
ChannelInfo() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getChannelARN()
The ARN of the signaling channel.
|
java.lang.String |
getChannelName()
The name of the signaling channel.
|
java.lang.String |
getChannelStatus()
Current status of the signaling channel.
|
java.lang.String |
getChannelType()
The type of the signaling channel.
|
java.util.Date |
getCreationTime()
The time at which the signaling channel was created.
|
SingleMasterConfiguration |
getSingleMasterConfiguration()
A structure that contains the configuration for the
SINGLE_MASTER channel type. |
java.lang.String |
getVersion()
The current version of the signaling channel.
|
int |
hashCode() |
void |
setChannelARN(java.lang.String channelARN)
The ARN of the signaling channel.
|
void |
setChannelName(java.lang.String channelName)
The name of the signaling channel.
|
void |
setChannelStatus(Status channelStatus)
Current status of the signaling channel.
|
void |
setChannelStatus(java.lang.String channelStatus)
Current status of the signaling channel.
|
void |
setChannelType(ChannelType channelType)
The type of the signaling channel.
|
void |
setChannelType(java.lang.String channelType)
The type of the signaling channel.
|
void |
setCreationTime(java.util.Date creationTime)
The time at which the signaling channel was created.
|
void |
setSingleMasterConfiguration(SingleMasterConfiguration singleMasterConfiguration)
A structure that contains the configuration for the
SINGLE_MASTER channel type. |
void |
setVersion(java.lang.String version)
The current version of the signaling channel.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ChannelInfo |
withChannelARN(java.lang.String channelARN)
The ARN of the signaling channel.
|
ChannelInfo |
withChannelName(java.lang.String channelName)
The name of the signaling channel.
|
ChannelInfo |
withChannelStatus(Status channelStatus)
Current status of the signaling channel.
|
ChannelInfo |
withChannelStatus(java.lang.String channelStatus)
Current status of the signaling channel.
|
ChannelInfo |
withChannelType(ChannelType channelType)
The type of the signaling channel.
|
ChannelInfo |
withChannelType(java.lang.String channelType)
The type of the signaling channel.
|
ChannelInfo |
withCreationTime(java.util.Date creationTime)
The time at which the signaling channel was created.
|
ChannelInfo |
withSingleMasterConfiguration(SingleMasterConfiguration singleMasterConfiguration)
A structure that contains the configuration for the
SINGLE_MASTER channel type. |
ChannelInfo |
withVersion(java.lang.String version)
The current version of the signaling channel.
|
public java.lang.String getChannelName()
The name of the signaling channel.
Constraints:
Length: 1 - 256
Pattern: [a-zA-Z0-9_.-]+
The name of the signaling channel.
public void setChannelName(java.lang.String channelName)
The name of the signaling channel.
Constraints:
Length: 1 - 256
Pattern: [a-zA-Z0-9_.-]+
channelName
- The name of the signaling channel.
public ChannelInfo withChannelName(java.lang.String channelName)
The name of the signaling channel.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
Pattern: [a-zA-Z0-9_.-]+
channelName
- The name of the signaling channel.
public java.lang.String getChannelARN()
The ARN of the signaling channel.
Constraints:
Length: 1 - 1024
Pattern:
arn:aws:kinesisvideo:[a-z0-9-]+:[0-9]+:[a-z]+/[a-zA-Z0-9_.-]+/[0-9]+
The ARN of the signaling channel.
public void setChannelARN(java.lang.String channelARN)
The ARN of the signaling channel.
Constraints:
Length: 1 - 1024
Pattern:
arn:aws:kinesisvideo:[a-z0-9-]+:[0-9]+:[a-z]+/[a-zA-Z0-9_.-]+/[0-9]+
channelARN
- The ARN of the signaling channel.
public ChannelInfo withChannelARN(java.lang.String channelARN)
The ARN of the signaling channel.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern:
arn:aws:kinesisvideo:[a-z0-9-]+:[0-9]+:[a-z]+/[a-zA-Z0-9_.-]+/[0-9]+
channelARN
- The ARN of the signaling channel.
public java.lang.String getChannelType()
The type of the signaling channel.
Constraints:
Allowed Values: SINGLE_MASTER
The type of the signaling channel.
ChannelType
public void setChannelType(java.lang.String channelType)
The type of the signaling channel.
Constraints:
Allowed Values: SINGLE_MASTER
channelType
- The type of the signaling channel.
ChannelType
public ChannelInfo withChannelType(java.lang.String channelType)
The type of the signaling channel.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SINGLE_MASTER
channelType
- The type of the signaling channel.
ChannelType
public void setChannelType(ChannelType channelType)
The type of the signaling channel.
Constraints:
Allowed Values: SINGLE_MASTER
channelType
- The type of the signaling channel.
ChannelType
public ChannelInfo withChannelType(ChannelType channelType)
The type of the signaling channel.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SINGLE_MASTER
channelType
- The type of the signaling channel.
ChannelType
public java.lang.String getChannelStatus()
Current status of the signaling channel.
Constraints:
Allowed Values: CREATING, ACTIVE, UPDATING, DELETING
Current status of the signaling channel.
Status
public void setChannelStatus(java.lang.String channelStatus)
Current status of the signaling channel.
Constraints:
Allowed Values: CREATING, ACTIVE, UPDATING, DELETING
channelStatus
- Current status of the signaling channel.
Status
public ChannelInfo withChannelStatus(java.lang.String channelStatus)
Current status of the signaling channel.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATING, ACTIVE, UPDATING, DELETING
channelStatus
- Current status of the signaling channel.
Status
public void setChannelStatus(Status channelStatus)
Current status of the signaling channel.
Constraints:
Allowed Values: CREATING, ACTIVE, UPDATING, DELETING
channelStatus
- Current status of the signaling channel.
Status
public ChannelInfo withChannelStatus(Status channelStatus)
Current status of the signaling channel.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATING, ACTIVE, UPDATING, DELETING
channelStatus
- Current status of the signaling channel.
Status
public java.util.Date getCreationTime()
The time at which the signaling channel was created.
The time at which the signaling channel was created.
public void setCreationTime(java.util.Date creationTime)
The time at which the signaling channel was created.
creationTime
- The time at which the signaling channel was created.
public ChannelInfo withCreationTime(java.util.Date creationTime)
The time at which the signaling channel was created.
Returns a reference to this object so that method calls can be chained together.
creationTime
- The time at which the signaling channel was created.
public SingleMasterConfiguration getSingleMasterConfiguration()
A structure that contains the configuration for the
SINGLE_MASTER
channel type.
A structure that contains the configuration for the
SINGLE_MASTER
channel type.
public void setSingleMasterConfiguration(SingleMasterConfiguration singleMasterConfiguration)
A structure that contains the configuration for the
SINGLE_MASTER
channel type.
singleMasterConfiguration
-
A structure that contains the configuration for the
SINGLE_MASTER
channel type.
public ChannelInfo withSingleMasterConfiguration(SingleMasterConfiguration singleMasterConfiguration)
A structure that contains the configuration for the
SINGLE_MASTER
channel type.
Returns a reference to this object so that method calls can be chained together.
singleMasterConfiguration
-
A structure that contains the configuration for the
SINGLE_MASTER
channel type.
public java.lang.String getVersion()
The current version of the signaling channel.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9]+
The current version of the signaling channel.
public void setVersion(java.lang.String version)
The current version of the signaling channel.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9]+
version
- The current version of the signaling channel.
public ChannelInfo withVersion(java.lang.String version)
The current version of the signaling channel.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9]+
version
- The current version of the signaling channel.
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.