@Generated(value="software.amazon.awssdk:codegen") public final class StartChannelResponse extends MediaLiveResponse implements ToCopyableBuilder<StartChannelResponse.Builder,StartChannelResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
StartChannelResponse.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The unique arn of the channel.
|
static StartChannelResponse.Builder |
builder() |
List<OutputDestination> |
destinations()
A list of destinations of the channel.
|
List<ChannelEgressEndpoint> |
egressEndpoints()
The endpoints where outgoing connections initiate from
|
EncoderSettings |
encoderSettings()
Returns the value of the EncoderSettings property for this object.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
int |
hashCode() |
String |
id()
The unique id of the channel.
|
List<InputAttachment> |
inputAttachments()
List of input attachments for channel.
|
String |
name()
The name of the channel.
|
Integer |
pipelinesRunningCount()
The number of currently healthy pipelines.
|
String |
roleArn()
The Amazon Resource Name (ARN) of the role assumed when running the Channel.
|
static Class<? extends StartChannelResponse.Builder> |
serializableBuilderClass() |
ChannelState |
state()
Returns the value of the State property for this object.
|
String |
stateAsString()
Returns the value of the State property for this object.
|
StartChannelResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
sdkHttpResponse
copy
public String arn()
public List<OutputDestination> destinations()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<ChannelEgressEndpoint> egressEndpoints()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public EncoderSettings encoderSettings()
public String id()
public List<InputAttachment> inputAttachments()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String name()
public Integer pipelinesRunningCount()
public String roleArn()
public ChannelState state()
If the service returns an enum value that is not available in the current SDK version, state
will return
ChannelState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
ChannelState
public String stateAsString()
If the service returns an enum value that is not available in the current SDK version, state
will return
ChannelState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
ChannelState
public StartChannelResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<StartChannelResponse.Builder,StartChannelResponse>
toBuilder
in class AwsResponse
public static StartChannelResponse.Builder builder()
public static Class<? extends StartChannelResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.