@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateInputRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateInputRequest() |
Modifier and Type | Method and Description |
---|---|
CreateInputRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateInputRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateInputRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<InputDestinationRequest> |
getDestinations()
Destination settings for PUSH type inputs.
|
List<InputDeviceSettings> |
getInputDevices()
Settings for the devices.
|
List<String> |
getInputSecurityGroups()
A list of security groups referenced by IDs to attach to the input.
|
List<MediaConnectFlowRequest> |
getMediaConnectFlows()
A list of the MediaConnect Flows that you want to use in this input.
|
String |
getName()
Name of the input.
|
String |
getRequestId()
Unique identifier of the request to ensure the request is handled exactly once in case of retries.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the role this input assumes during and after creation.
|
List<InputSourceRequest> |
getSources()
The source URLs for a PULL-type input.
|
SrtSettingsRequest |
getSrtSettings()
The settings associated with an SRT input.
|
Map<String,String> |
getTags()
A collection of key-value pairs.
|
String |
getType() |
InputVpcRequest |
getVpc() |
int |
hashCode() |
void |
setDestinations(Collection<InputDestinationRequest> destinations)
Destination settings for PUSH type inputs.
|
void |
setInputDevices(Collection<InputDeviceSettings> inputDevices)
Settings for the devices.
|
void |
setInputSecurityGroups(Collection<String> inputSecurityGroups)
A list of security groups referenced by IDs to attach to the input.
|
void |
setMediaConnectFlows(Collection<MediaConnectFlowRequest> mediaConnectFlows)
A list of the MediaConnect Flows that you want to use in this input.
|
void |
setName(String name)
Name of the input.
|
void |
setRequestId(String requestId)
Unique identifier of the request to ensure the request is handled exactly once in case of retries.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role this input assumes during and after creation.
|
void |
setSources(Collection<InputSourceRequest> sources)
The source URLs for a PULL-type input.
|
void |
setSrtSettings(SrtSettingsRequest srtSettings)
The settings associated with an SRT input.
|
void |
setTags(Map<String,String> tags)
A collection of key-value pairs.
|
void |
setType(String type) |
void |
setVpc(InputVpcRequest vpc) |
String |
toString()
Returns a string representation of this object.
|
CreateInputRequest |
withDestinations(Collection<InputDestinationRequest> destinations)
Destination settings for PUSH type inputs.
|
CreateInputRequest |
withDestinations(InputDestinationRequest... destinations)
Destination settings for PUSH type inputs.
|
CreateInputRequest |
withInputDevices(Collection<InputDeviceSettings> inputDevices)
Settings for the devices.
|
CreateInputRequest |
withInputDevices(InputDeviceSettings... inputDevices)
Settings for the devices.
|
CreateInputRequest |
withInputSecurityGroups(Collection<String> inputSecurityGroups)
A list of security groups referenced by IDs to attach to the input.
|
CreateInputRequest |
withInputSecurityGroups(String... inputSecurityGroups)
A list of security groups referenced by IDs to attach to the input.
|
CreateInputRequest |
withMediaConnectFlows(Collection<MediaConnectFlowRequest> mediaConnectFlows)
A list of the MediaConnect Flows that you want to use in this input.
|
CreateInputRequest |
withMediaConnectFlows(MediaConnectFlowRequest... mediaConnectFlows)
A list of the MediaConnect Flows that you want to use in this input.
|
CreateInputRequest |
withName(String name)
Name of the input.
|
CreateInputRequest |
withRequestId(String requestId)
Unique identifier of the request to ensure the request is handled exactly once in case of retries.
|
CreateInputRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role this input assumes during and after creation.
|
CreateInputRequest |
withSources(Collection<InputSourceRequest> sources)
The source URLs for a PULL-type input.
|
CreateInputRequest |
withSources(InputSourceRequest... sources)
The source URLs for a PULL-type input.
|
CreateInputRequest |
withSrtSettings(SrtSettingsRequest srtSettings)
The settings associated with an SRT input.
|
CreateInputRequest |
withTags(Map<String,String> tags)
A collection of key-value pairs.
|
CreateInputRequest |
withType(InputType type) |
CreateInputRequest |
withType(String type) |
CreateInputRequest |
withVpc(InputVpcRequest vpc) |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<InputDestinationRequest> getDestinations()
public void setDestinations(Collection<InputDestinationRequest> destinations)
destinations
- Destination settings for PUSH type inputs.public CreateInputRequest withDestinations(InputDestinationRequest... destinations)
NOTE: This method appends the values to the existing list (if any). Use
setDestinations(java.util.Collection)
or withDestinations(java.util.Collection)
if you want to
override the existing values.
destinations
- Destination settings for PUSH type inputs.public CreateInputRequest withDestinations(Collection<InputDestinationRequest> destinations)
destinations
- Destination settings for PUSH type inputs.public List<InputDeviceSettings> getInputDevices()
public void setInputDevices(Collection<InputDeviceSettings> inputDevices)
inputDevices
- Settings for the devices.public CreateInputRequest withInputDevices(InputDeviceSettings... inputDevices)
NOTE: This method appends the values to the existing list (if any). Use
setInputDevices(java.util.Collection)
or withInputDevices(java.util.Collection)
if you want to
override the existing values.
inputDevices
- Settings for the devices.public CreateInputRequest withInputDevices(Collection<InputDeviceSettings> inputDevices)
inputDevices
- Settings for the devices.public List<String> getInputSecurityGroups()
public void setInputSecurityGroups(Collection<String> inputSecurityGroups)
inputSecurityGroups
- A list of security groups referenced by IDs to attach to the input.public CreateInputRequest withInputSecurityGroups(String... inputSecurityGroups)
NOTE: This method appends the values to the existing list (if any). Use
setInputSecurityGroups(java.util.Collection)
or withInputSecurityGroups(java.util.Collection)
if you want to override the existing values.
inputSecurityGroups
- A list of security groups referenced by IDs to attach to the input.public CreateInputRequest withInputSecurityGroups(Collection<String> inputSecurityGroups)
inputSecurityGroups
- A list of security groups referenced by IDs to attach to the input.public List<MediaConnectFlowRequest> getMediaConnectFlows()
public void setMediaConnectFlows(Collection<MediaConnectFlowRequest> mediaConnectFlows)
mediaConnectFlows
- A list of the MediaConnect Flows that you want to use in this input. You can specify as few as one Flow
and presently, as many as two. The only requirement is when you have more than one is that each Flow is in
a separate Availability Zone as this ensures your EML input is redundant to AZ issues.public CreateInputRequest withMediaConnectFlows(MediaConnectFlowRequest... mediaConnectFlows)
NOTE: This method appends the values to the existing list (if any). Use
setMediaConnectFlows(java.util.Collection)
or withMediaConnectFlows(java.util.Collection)
if
you want to override the existing values.
mediaConnectFlows
- A list of the MediaConnect Flows that you want to use in this input. You can specify as few as one Flow
and presently, as many as two. The only requirement is when you have more than one is that each Flow is in
a separate Availability Zone as this ensures your EML input is redundant to AZ issues.public CreateInputRequest withMediaConnectFlows(Collection<MediaConnectFlowRequest> mediaConnectFlows)
mediaConnectFlows
- A list of the MediaConnect Flows that you want to use in this input. You can specify as few as one Flow
and presently, as many as two. The only requirement is when you have more than one is that each Flow is in
a separate Availability Zone as this ensures your EML input is redundant to AZ issues.public void setName(String name)
name
- Name of the input.public String getName()
public CreateInputRequest withName(String name)
name
- Name of the input.public void setRequestId(String requestId)
requestId
- Unique identifier of the request to ensure the request is handled exactly once in case of retries.public String getRequestId()
public CreateInputRequest withRequestId(String requestId)
requestId
- Unique identifier of the request to ensure the request is handled exactly once in case of retries.public void setRoleArn(String roleArn)
roleArn
- The Amazon Resource Name (ARN) of the role this input assumes during and after creation.public String getRoleArn()
public CreateInputRequest withRoleArn(String roleArn)
roleArn
- The Amazon Resource Name (ARN) of the role this input assumes during and after creation.public List<InputSourceRequest> getSources()
public void setSources(Collection<InputSourceRequest> sources)
sources
- The source URLs for a PULL-type input. Every PULL type input needs exactly two source URLs for redundancy.
Only specify sources for PULL type Inputs. Leave Destinations empty.public CreateInputRequest withSources(InputSourceRequest... sources)
NOTE: This method appends the values to the existing list (if any). Use
setSources(java.util.Collection)
or withSources(java.util.Collection)
if you want to override
the existing values.
sources
- The source URLs for a PULL-type input. Every PULL type input needs exactly two source URLs for redundancy.
Only specify sources for PULL type Inputs. Leave Destinations empty.public CreateInputRequest withSources(Collection<InputSourceRequest> sources)
sources
- The source URLs for a PULL-type input. Every PULL type input needs exactly two source URLs for redundancy.
Only specify sources for PULL type Inputs. Leave Destinations empty.public Map<String,String> getTags()
public void setTags(Map<String,String> tags)
tags
- A collection of key-value pairs.public CreateInputRequest withTags(Map<String,String> tags)
tags
- A collection of key-value pairs.public CreateInputRequest addTagsEntry(String key, String value)
public CreateInputRequest clearTagsEntries()
public CreateInputRequest withType(String type)
type
- InputType
public CreateInputRequest withType(InputType type)
type
- InputType
public void setVpc(InputVpcRequest vpc)
vpc
- public InputVpcRequest getVpc()
public CreateInputRequest withVpc(InputVpcRequest vpc)
vpc
- public void setSrtSettings(SrtSettingsRequest srtSettings)
srtSettings
- The settings associated with an SRT input.public SrtSettingsRequest getSrtSettings()
public CreateInputRequest withSrtSettings(SrtSettingsRequest srtSettings)
srtSettings
- The settings associated with an SRT input.public String toString()
toString
in class Object
Object.toString()
public CreateInputRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()