@Generated(value="software.amazon.awssdk:codegen") public final class CreateInputRequest extends MediaLiveRequest implements ToCopyableBuilder<CreateInputRequest.Builder,CreateInputRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateInputRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateInputRequest.Builder |
builder() |
List<InputDestinationRequest> |
destinations()
Destination settings for PUSH type inputs.
|
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<String> |
inputSecurityGroups()
A list of security groups referenced by IDs to attach to the input.
|
String |
name()
Name of the input.
|
String |
requestId()
Unique identifier of the request to ensure the request is handled exactly once in case of retries.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateInputRequest.Builder> |
serializableBuilderClass() |
List<InputSourceRequest> |
sources()
The source URLs for a PULL-type input.
|
CreateInputRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
InputType |
type()
Returns the value of the Type property for this object.
|
String |
typeAsString()
Returns the value of the Type property for this object.
|
overrideConfiguration
copy
public List<InputDestinationRequest> destinations()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> inputSecurityGroups()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String name()
public String requestId()
public List<InputSourceRequest> sources()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public InputType type()
If the service returns an enum value that is not available in the current SDK version, type
will return
InputType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
InputType
public String typeAsString()
If the service returns an enum value that is not available in the current SDK version, type
will return
InputType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
InputType
public CreateInputRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateInputRequest.Builder,CreateInputRequest>
toBuilder
in class MediaLiveRequest
public static CreateInputRequest.Builder builder()
public static Class<? extends CreateInputRequest.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.