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
Modifier and TypeMethodDescriptionAn 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.remoteAccessSessions
(Collection<RemoteAccessSession> remoteAccessSessions) A container that represents the metadata from the service about each remote access session you are requesting.remoteAccessSessions
(Consumer<RemoteAccessSession.Builder>... remoteAccessSessions) A container that represents the metadata from the service about each remote access session you are requesting.remoteAccessSessions
(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 Details
-
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.Builder
avoiding the need to create one manually viaRemoteAccessSession.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toremoteAccessSessions(List<RemoteAccessSession>)
.- 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:
-
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.
-