Interface CreateGuiSessionAccessDetailsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateGuiSessionAccessDetailsResponse.Builder,
,CreateGuiSessionAccessDetailsResponse> LightsailResponse.Builder
,SdkBuilder<CreateGuiSessionAccessDetailsResponse.Builder,
,CreateGuiSessionAccessDetailsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateGuiSessionAccessDetailsResponse
@Mutable
@NotThreadSafe
public static interface CreateGuiSessionAccessDetailsResponse.Builder
extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<CreateGuiSessionAccessDetailsResponse.Builder,CreateGuiSessionAccessDetailsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfailureReason
(String failureReason) The reason the operation failed.percentageComplete
(Integer percentageComplete) The percentage of completion for the operation.resourceName
(String resourceName) The resource name.sessions
(Collection<Session> sessions) Returns information about the specified Amazon DCV GUI session.sessions
(Consumer<Session.Builder>... sessions) Returns information about the specified Amazon DCV GUI session.Returns information about the specified Amazon DCV GUI session.The status of the operation.The status of the operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
resourceName
The resource name.
- Parameters:
resourceName
- The resource name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the operation.
- Parameters:
status
- The status of the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the operation.
- Parameters:
status
- The status of the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
percentageComplete
The percentage of completion for the operation.
- Parameters:
percentageComplete
- The percentage of completion for the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
The reason the operation failed.
- Parameters:
failureReason
- The reason the operation failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessions
Returns information about the specified Amazon DCV GUI session.
- Parameters:
sessions
- Returns information about the specified Amazon DCV GUI session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessions
Returns information about the specified Amazon DCV GUI session.
- Parameters:
sessions
- Returns information about the specified Amazon DCV GUI session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessions
Returns information about the specified Amazon DCV GUI session.
This is a convenience method that creates an instance of theSession.Builder
avoiding the need to create one manually viaSession.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosessions(List<Session>)
.- Parameters:
sessions
- a consumer that will call methods onSession.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-