@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()
Unique ARN of input (generated, immutable)
|
List<String> |
getAttachedChannels()
List of channel IDs that that input is attached to (currently an input can only be attached to one channel)
|
List<InputDestination> |
getDestinations()
List of destinations of input (PULL-type)
|
String |
getId()
generated ID of input (unique for user account, immutable)
|
String |
getName()
user-assigned name (mutable)
|
List<String> |
getSecurityGroups()
List of IDs for all the security groups attached to the input.
|
List<InputSource> |
getSources()
List of sources of 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)
Unique ARN of input (generated, immutable)
|
void |
setAttachedChannels(Collection<String> attachedChannels)
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)
List of destinations of input (PULL-type)
|
void |
setId(String id)
generated ID of input (unique for user account, immutable)
|
void |
setName(String name)
user-assigned name (mutable)
|
void |
setSecurityGroups(Collection<String> securityGroups)
List of IDs for all the security groups attached to the input.
|
void |
setSources(Collection<InputSource> sources)
List of sources of 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)
Unique ARN of input (generated, immutable)
|
Input |
withAttachedChannels(Collection<String> attachedChannels)
List of channel IDs that that input is attached to (currently an input can only be attached to one channel)
|
Input |
withAttachedChannels(String... attachedChannels)
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)
List of destinations of input (PULL-type)
|
Input |
withDestinations(InputDestination... destinations)
List of destinations of input (PULL-type)
|
Input |
withId(String id)
generated ID of input (unique for user account, immutable)
|
Input |
withName(String name)
user-assigned name (mutable)
|
Input |
withSecurityGroups(Collection<String> securityGroups)
List of IDs for all the security groups attached to the input.
|
Input |
withSecurityGroups(String... securityGroups)
List of IDs for all the security groups attached to the input.
|
Input |
withSources(Collection<InputSource> sources)
List of sources of input (PULL-type)
|
Input |
withSources(InputSource... sources)
List of sources of 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
- Unique ARN of input (generated, immutable)public String getArn()
public Input withArn(String arn)
arn
- Unique ARN of input (generated, immutable)public List<String> getAttachedChannels()
public void setAttachedChannels(Collection<String> attachedChannels)
attachedChannels
- 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
- 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
- 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
- List of destinations of input (PULL-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
- List of destinations of input (PULL-type)public Input withDestinations(Collection<InputDestination> destinations)
destinations
- List of destinations of input (PULL-type)public void setId(String id)
id
- generated ID of input (unique for user account, immutable)public String getId()
public Input withId(String id)
id
- generated ID of input (unique for user account, immutable)public void setName(String name)
name
- user-assigned name (mutable)public String getName()
public Input withName(String name)
name
- user-assigned name (mutable)public List<String> getSecurityGroups()
public void setSecurityGroups(Collection<String> securityGroups)
securityGroups
- 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
- List of IDs for all the security groups attached to the input.public Input withSecurityGroups(Collection<String> securityGroups)
securityGroups
- List of IDs for all the security groups attached to the input.public List<InputSource> getSources()
public void setSources(Collection<InputSource> sources)
sources
- List of sources of 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
- List of sources of input (PULL-type)public Input withSources(Collection<InputSource> sources)
sources
- List of sources of 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.