Interface ListRemoteAccessSessionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRemoteAccessSessionsResponse.Builder,ListRemoteAccessSessionsResponse>,DeviceFarmResponse.Builder,SdkBuilder<ListRemoteAccessSessionsResponse.Builder,ListRemoteAccessSessionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListRemoteAccessSessionsResponse
public static interface ListRemoteAccessSessionsResponse.Builder extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<ListRemoteAccessSessionsResponse.Builder,ListRemoteAccessSessionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListRemoteAccessSessionsResponse.BuildernextToken(String nextToken)An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.ListRemoteAccessSessionsResponse.BuilderremoteAccessSessions(Collection<RemoteAccessSession> remoteAccessSessions)A container that represents the metadata from the service about each remote access session you are requesting.ListRemoteAccessSessionsResponse.BuilderremoteAccessSessions(Consumer<RemoteAccessSession.Builder>... remoteAccessSessions)A container that represents the metadata from the service about each remote access session you are requesting.ListRemoteAccessSessionsResponse.BuilderremoteAccessSessions(RemoteAccessSession... remoteAccessSessions)A container that represents the metadata from the service about each remote access session you are requesting.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
remoteAccessSessions
ListRemoteAccessSessionsResponse.Builder remoteAccessSessions(Collection<RemoteAccessSession> remoteAccessSessions)
A container that represents the metadata from the service about each remote access session you are requesting.
- Parameters:
remoteAccessSessions- A container that represents the metadata from the service about each remote access session you are requesting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteAccessSessions
ListRemoteAccessSessionsResponse.Builder remoteAccessSessions(RemoteAccessSession... remoteAccessSessions)
A container that represents the metadata from the service about each remote access session you are requesting.
- Parameters:
remoteAccessSessions- A container that represents the metadata from the service about each remote access session you are requesting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteAccessSessions
ListRemoteAccessSessionsResponse.Builder remoteAccessSessions(Consumer<RemoteAccessSession.Builder>... remoteAccessSessions)
A container that represents the metadata from the service about each remote access session you are requesting.
This is a convenience method that creates an instance of theRemoteAccessSession.Builderavoiding the need to create one manually viaRemoteAccessSession.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#remoteAccessSessions(List.) - Parameters:
remoteAccessSessions- a consumer that will call methods onRemoteAccessSession.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#remoteAccessSessions(java.util.Collection)
-
nextToken
ListRemoteAccessSessionsResponse.Builder nextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
- Parameters:
nextToken- An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-