@Generated(value="software.amazon.awssdk:codegen") public final class DescribeInputResponse extends MediaLiveResponse implements ToCopyableBuilder<DescribeInputResponse.Builder,DescribeInputResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeInputResponse.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 DescribeInputResponse.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)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
int |
hashCode() |
String |
id()
generated ID of input (unique for user account, immutable)
|
String |
name()
user-assigned name (mutable)
|
List<String> |
securityGroups()
List of IDs for all the security groups attached to the input.
|
static Class<? extends DescribeInputResponse.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.
|
DescribeInputResponse.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.
|
sdkHttpResponse
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 DescribeInputResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeInputResponse.Builder,DescribeInputResponse>
toBuilder
in class AwsResponse
public static DescribeInputResponse.Builder builder()
public static Class<? extends DescribeInputResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.