@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Input extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Input() |
Modifier and Type | Method and Description |
---|---|
Input |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Unique ARN of the input (generated, immutable).
|
List<String> |
getAttachedChannels()
A list of channel IDs that that input is attached to (currently an input can only be attached to one channel).
|
List<InputDestination> |
getDestinations()
A list of the destinations of the input (PUSH-type).
|
String |
getId()
The generated ID of the input (unique for user account, immutable).
|
String |
getName()
The user-assigned name (This is a mutable value).
|
List<String> |
getSecurityGroups()
A list of IDs for all the security groups attached to the input.
|
List<InputSource> |
getSources()
A list of the sources of the input (PULL-type).
|
String |
getState() |
String |
getType() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Unique ARN of the input (generated, immutable).
|
void |
setAttachedChannels(Collection<String> attachedChannels)
A list of channel IDs that that input is attached to (currently an input can only be attached to one channel).
|
void |
setDestinations(Collection<InputDestination> destinations)
A list of the destinations of the input (PUSH-type).
|
void |
setId(String id)
The generated ID of the input (unique for user account, immutable).
|
void |
setName(String name)
The user-assigned name (This is a mutable value).
|
void |
setSecurityGroups(Collection<String> securityGroups)
A list of IDs for all the security groups attached to the input.
|
void |
setSources(Collection<InputSource> sources)
A list of the sources of the input (PULL-type).
|
void |
setState(String state) |
void |
setType(String type) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Input |
withArn(String arn)
The Unique ARN of the input (generated, immutable).
|
Input |
withAttachedChannels(Collection<String> attachedChannels)
A list of channel IDs that that input is attached to (currently an input can only be attached to one channel).
|
Input |
withAttachedChannels(String... attachedChannels)
A list of channel IDs that that input is attached to (currently an input can only be attached to one channel).
|
Input |
withDestinations(Collection<InputDestination> destinations)
A list of the destinations of the input (PUSH-type).
|
Input |
withDestinations(InputDestination... destinations)
A list of the destinations of the input (PUSH-type).
|
Input |
withId(String id)
The generated ID of the input (unique for user account, immutable).
|
Input |
withName(String name)
The user-assigned name (This is a mutable value).
|
Input |
withSecurityGroups(Collection<String> securityGroups)
A list of IDs for all the security groups attached to the input.
|
Input |
withSecurityGroups(String... securityGroups)
A list of IDs for all the security groups attached to the input.
|
Input |
withSources(Collection<InputSource> sources)
A list of the sources of the input (PULL-type).
|
Input |
withSources(InputSource... sources)
A list of the sources of the input (PULL-type).
|
Input |
withState(InputState state) |
Input |
withState(String state) |
Input |
withType(InputType type) |
Input |
withType(String type) |
public void setArn(String arn)
arn
- The Unique ARN of the input (generated, immutable).public String getArn()
public Input withArn(String arn)
arn
- The Unique ARN of the input (generated, immutable).public List<String> getAttachedChannels()
public void setAttachedChannels(Collection<String> attachedChannels)
attachedChannels
- A list of channel IDs that that input is attached to (currently an input can only be attached to one
channel).public Input withAttachedChannels(String... attachedChannels)
NOTE: This method appends the values to the existing list (if any). Use
setAttachedChannels(java.util.Collection)
or withAttachedChannels(java.util.Collection)
if you
want to override the existing values.
attachedChannels
- A list of channel IDs that that input is attached to (currently an input can only be attached to one
channel).public Input withAttachedChannels(Collection<String> attachedChannels)
attachedChannels
- A list of channel IDs that that input is attached to (currently an input can only be attached to one
channel).public List<InputDestination> getDestinations()
public void setDestinations(Collection<InputDestination> destinations)
destinations
- A list of the destinations of the input (PUSH-type).public Input withDestinations(InputDestination... 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
- A list of the destinations of the input (PUSH-type).public Input withDestinations(Collection<InputDestination> destinations)
destinations
- A list of the destinations of the input (PUSH-type).public void setId(String id)
id
- The generated ID of the input (unique for user account, immutable).public String getId()
public Input withId(String id)
id
- The generated ID of the input (unique for user account, immutable).public void setName(String name)
name
- The user-assigned name (This is a mutable value).public String getName()
public Input withName(String name)
name
- The user-assigned name (This is a mutable value).public List<String> getSecurityGroups()
public void setSecurityGroups(Collection<String> securityGroups)
securityGroups
- A list of IDs for all the security groups attached to the input.public Input withSecurityGroups(String... securityGroups)
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroups(java.util.Collection)
or withSecurityGroups(java.util.Collection)
if you want
to override the existing values.
securityGroups
- A list of IDs for all the security groups attached to the input.public Input withSecurityGroups(Collection<String> securityGroups)
securityGroups
- A list of IDs for all the security groups attached to the input.public List<InputSource> getSources()
public void setSources(Collection<InputSource> sources)
sources
- A list of the sources of the input (PULL-type).public Input withSources(InputSource... 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
- A list of the sources of the input (PULL-type).public Input withSources(Collection<InputSource> sources)
sources
- A list of the sources of the input (PULL-type).public void setState(String state)
state
- InputState
public String getState()
InputState
public Input withState(String state)
state
- InputState
public Input withState(InputState state)
state
- InputState
public Input withType(String type)
type
- InputType
public Input withType(InputType type)
type
- InputType
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.