@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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDestinations()
For responses, this returns true if the service returned a value for the Destinations property.
|
int |
hashCode() |
boolean |
hasInputDevices()
For responses, this returns true if the service returned a value for the InputDevices property.
|
boolean |
hasInputSecurityGroups()
For responses, this returns true if the service returned a value for the InputSecurityGroups property.
|
boolean |
hasMediaConnectFlows()
For responses, this returns true if the service returned a value for the MediaConnectFlows property.
|
boolean |
hasSources()
For responses, this returns true if the service returned a value for the Sources property.
|
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
List<InputDeviceSettings> |
inputDevices()
Settings for the devices.
|
List<String> |
inputSecurityGroups()
A list of security groups referenced by IDs to attach to the input.
|
List<MediaConnectFlowRequest> |
mediaConnectFlows()
A list of the MediaConnect Flows that you want to use in this 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.
|
String |
roleArn()
The Amazon Resource Name (ARN) of the role this input assumes during and after creation.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateInputRequest.Builder> |
serializableBuilderClass() |
List<InputSourceRequest> |
sources()
The source URLs for a PULL-type input.
|
Map<String,String> |
tags()
A collection of key-value pairs.
|
CreateInputRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
InputType |
type()
Returns the value of the Type property for this object.
|
String |
typeAsString()
Returns the value of the Type property for this object.
|
InputVpcRequest |
vpc()
Returns the value of the Vpc property for this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasDestinations()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<InputDestinationRequest> destinations()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDestinations() method.
public final boolean hasInputDevices()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<InputDeviceSettings> inputDevices()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasInputDevices() method.
public final boolean hasInputSecurityGroups()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> inputSecurityGroups()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasInputSecurityGroups() method.
public final boolean hasMediaConnectFlows()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<MediaConnectFlowRequest> mediaConnectFlows()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasMediaConnectFlows() method.
public final String name()
public final String requestId()
public final String roleArn()
public final boolean hasSources()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<InputSourceRequest> sources()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSources() method.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final Map<String,String> tags()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public final 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().
InputTypepublic final 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().
InputTypepublic final InputVpcRequest vpc()
public CreateInputRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateInputRequest.Builder,CreateInputRequest>toBuilder in class MediaLiveRequestpublic static CreateInputRequest.Builder builder()
public static Class<? extends CreateInputRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.