@Generated(value="software.amazon.awssdk:codegen") public final class Input extends Object implements StructuredPojo, ToCopyableBuilder<Input.Builder,Input>
Modifier and Type | Class and Description |
---|---|
static interface |
Input.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
Unique ARN of input (generated, immutable)
|
List<String> |
attachedChannels()
List of channel IDs that that input is attached to (currently an input can only be attached to one channel)
|
static Input.Builder |
builder() |
List<InputDestination> |
destinations()
List of destinations of input (PULL-type)
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
generated ID of input (unique for user account, immutable)
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
user-assigned name (mutable)
|
List<String> |
securityGroups()
List of IDs for all the security groups attached to the input.
|
static Class<? extends Input.Builder> |
serializableBuilderClass() |
List<InputSource> |
sources()
List of sources of input (PULL-type)
|
InputState |
state()
Returns the value of the State property for this object.
|
String |
stateAsString()
Returns the value of the State property for this object.
|
Input.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
InputType |
type()
Returns the value of the Type property for this object.
|
String |
typeAsString()
Returns the value of the Type property for this object.
|
copy
public String arn()
public List<String> attachedChannels()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<InputDestination> destinations()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String id()
public String name()
public List<String> securityGroups()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<InputSource> sources()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public InputState state()
If the service returns an enum value that is not available in the current SDK version, state
will return
InputState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
InputState
public String stateAsString()
If the service returns an enum value that is not available in the current SDK version, state
will return
InputState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
InputState
public 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()
.
InputType
public 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()
.
InputType
public Input.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Input.Builder,Input>
public static Input.Builder builder()
public static Class<? extends Input.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.