Interface CreateRemoteAccessSessionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateRemoteAccessSessionResponse.Builder,CreateRemoteAccessSessionResponse>,DeviceFarmResponse.Builder,SdkBuilder<CreateRemoteAccessSessionResponse.Builder,CreateRemoteAccessSessionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateRemoteAccessSessionResponse
public static interface CreateRemoteAccessSessionResponse.Builder extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<CreateRemoteAccessSessionResponse.Builder,CreateRemoteAccessSessionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateRemoteAccessSessionResponse.BuilderremoteAccessSession(Consumer<RemoteAccessSession.Builder> remoteAccessSession)A container that describes the remote access session when the request to create a remote access session is sent.CreateRemoteAccessSessionResponse.BuilderremoteAccessSession(RemoteAccessSession remoteAccessSession)A container that describes the remote access session when the request to create a remote access session is sent.-
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
-
remoteAccessSession
CreateRemoteAccessSessionResponse.Builder remoteAccessSession(RemoteAccessSession remoteAccessSession)
A container that describes the remote access session when the request to create a remote access session is sent.
- Parameters:
remoteAccessSession- A container that describes the remote access session when the request to create a remote access session is sent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteAccessSession
default CreateRemoteAccessSessionResponse.Builder remoteAccessSession(Consumer<RemoteAccessSession.Builder> remoteAccessSession)
A container that describes the remote access session when the request to create a remote access session is sent.
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 toremoteAccessSession(RemoteAccessSession).- Parameters:
remoteAccessSession- 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:
remoteAccessSession(RemoteAccessSession)
-
-