Class ListNamedShadowsForThingResponse
- java.lang.Object
-
- software.amazon.awssdk.aws.greengrass.model.ListNamedShadowsForThingResponse
-
- All Implemented Interfaces:
EventStreamJsonMessage
public class ListNamedShadowsForThingResponse extends Object implements EventStreamJsonMessage
-
-
Field Summary
Fields Modifier and Type Field Description static String
APPLICATION_MODEL_TYPE
static ListNamedShadowsForThingResponse
VOID
-
Constructor Summary
Constructors Constructor Description ListNamedShadowsForThingResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object rhs)
String
getApplicationModelType()
Returns the named model type.String
getNextToken()
(Optional) The token value to use in paged requests to retrieve the next page in the sequence.List<String>
getResults()
The list of shadow names.Instant
getTimestamp()
(Optional) The date and time that the response was generated.int
hashCode()
void
setNextToken(String nextToken)
(Optional) The token value to use in paged requests to retrieve the next page in the sequence.void
setResults(List<String> results)
The list of shadow names.void
setTimestamp(Instant timestamp)
(Optional) The date and time that the response was generated.ListNamedShadowsForThingResponse
withNextToken(String nextToken)
(Optional) The token value to use in paged requests to retrieve the next page in the sequence.ListNamedShadowsForThingResponse
withResults(List<String> results)
The list of shadow names.ListNamedShadowsForThingResponse
withTimestamp(Instant timestamp)
(Optional) The date and time that the response was generated.-
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.eventstreamrpc.model.EventStreamJsonMessage
fromJson, isVoid, postFromJson, toPayload
-
-
-
-
Field Detail
-
APPLICATION_MODEL_TYPE
public static final String APPLICATION_MODEL_TYPE
- See Also:
- Constant Field Values
-
VOID
public static final ListNamedShadowsForThingResponse VOID
-
-
Method Detail
-
withResults
public ListNamedShadowsForThingResponse withResults(List<String> results)
The list of shadow names.
-
getTimestamp
public Instant getTimestamp()
(Optional) The date and time that the response was generated.
-
setTimestamp
public void setTimestamp(Instant timestamp)
(Optional) The date and time that the response was generated.
-
withTimestamp
public ListNamedShadowsForThingResponse withTimestamp(Instant timestamp)
(Optional) The date and time that the response was generated.
-
getNextToken
public String getNextToken()
(Optional) The token value to use in paged requests to retrieve the next page in the sequence. This token isn't present when there are no more shadow names to return.
-
setNextToken
public void setNextToken(String nextToken)
(Optional) The token value to use in paged requests to retrieve the next page in the sequence. This token isn't present when there are no more shadow names to return.
-
withNextToken
public ListNamedShadowsForThingResponse withNextToken(String nextToken)
(Optional) The token value to use in paged requests to retrieve the next page in the sequence. This token isn't present when there are no more shadow names to return.
-
getApplicationModelType
public String getApplicationModelType()
Description copied from interface:EventStreamJsonMessage
Returns the named model type. May be used for a header.- Specified by:
getApplicationModelType
in interfaceEventStreamJsonMessage
- Returns:
- the named model type
-
-