@Generated(value="software.amazon.awssdk:codegen") public final class CreateChannelRequest extends MediaLiveRequest implements ToCopyableBuilder<CreateChannelRequest.Builder,CreateChannelRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateChannelRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateChannelRequest.Builder |
builder() |
List<OutputDestination> |
destinations()
Returns the value of the Destinations property for this object.
|
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
SdkRequest . |
int |
hashCode() |
List<InputAttachment> |
inputAttachments()
List of input attachments for channel.
|
InputSpecification |
inputSpecification()
Specification of input for this channel (max.
|
LogLevel |
logLevel()
The log level to write to CloudWatch Logs.
|
String |
logLevelAsString()
The log level to write to CloudWatch Logs.
|
String |
name()
Name of channel.
|
String |
requestId()
Unique request ID to be specified.
|
String |
reserved()
Deprecated field that's only usable by whitelisted customers.
|
String |
roleArn()
An optional Amazon Resource Name (ARN) of the role to assume when running the Channel.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateChannelRequest.Builder> |
serializableBuilderClass() |
CreateChannelRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public List<OutputDestination> destinations()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public EncoderSettings encoderSettings()
public List<InputAttachment> inputAttachments()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public InputSpecification inputSpecification()
public LogLevel logLevel()
If the service returns an enum value that is not available in the current SDK version, logLevel
will
return LogLevel.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
logLevelAsString()
.
LogLevel
public String logLevelAsString()
If the service returns an enum value that is not available in the current SDK version, logLevel
will
return LogLevel.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
logLevelAsString()
.
LogLevel
public String name()
public String requestId()
public String reserved()
public String roleArn()
public CreateChannelRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateChannelRequest.Builder,CreateChannelRequest>
toBuilder
in class MediaLiveRequest
public static CreateChannelRequest.Builder builder()
public static Class<? extends CreateChannelRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. 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 SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
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.