@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeInputResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeInputResult() |
Modifier and Type | Method and Description |
---|---|
DescribeInputResult |
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 |
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.
|
DescribeInputResult |
withArn(String arn)
The Unique ARN of the input (generated, immutable).
|
DescribeInputResult |
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).
|
DescribeInputResult |
withAttachedChannels(String... attachedChannels)
A list of channel IDs that that input is attached to (currently an input can only be attached to one channel).
|
DescribeInputResult |
withDestinations(Collection<InputDestination> destinations)
A list of the destinations of the input (PUSH-type).
|
DescribeInputResult |
withDestinations(InputDestination... destinations)
A list of the destinations of the input (PUSH-type).
|
DescribeInputResult |
withId(String id)
The generated ID of the input (unique for user account, immutable).
|
DescribeInputResult |
withName(String name)
The user-assigned name (This is a mutable value).
|
DescribeInputResult |
withSecurityGroups(Collection<String> securityGroups)
A list of IDs for all the security groups attached to the input.
|
DescribeInputResult |
withSecurityGroups(String... securityGroups)
A list of IDs for all the security groups attached to the input.
|
DescribeInputResult |
withSources(Collection<InputSource> sources)
A list of the sources of the input (PULL-type).
|
DescribeInputResult |
withSources(InputSource... sources)
A list of the sources of the input (PULL-type).
|
DescribeInputResult |
withState(InputState state) |
DescribeInputResult |
withState(String state) |
DescribeInputResult |
withType(InputType type) |
DescribeInputResult |
withType(String type) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
arn
- The Unique ARN of the input (generated, immutable).public String getArn()
public DescribeInputResult 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 DescribeInputResult 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 DescribeInputResult 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 DescribeInputResult 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 DescribeInputResult 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 DescribeInputResult 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 DescribeInputResult 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 DescribeInputResult 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 DescribeInputResult 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 DescribeInputResult 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 DescribeInputResult 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 DescribeInputResult withState(String state)
state
- InputState
public DescribeInputResult withState(InputState state)
state
- InputState
public DescribeInputResult withType(String type)
type
- InputType
public DescribeInputResult withType(InputType type)
type
- InputType
public String toString()
toString
in class Object
Object.toString()
public DescribeInputResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.