Interface GetSessionResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<GetSessionResponse.Builder,,- GetSessionResponse> - SdkBuilder<GetSessionResponse.Builder,,- GetSessionResponse> - SdkPojo,- SdkResponse.Builder,- WorkSpacesWebResponse.Builder
- Enclosing class:
- GetSessionResponse
@Mutable
@NotThreadSafe
public static interface GetSessionResponse.Builder
extends WorkSpacesWebResponse.Builder, SdkPojo, CopyableBuilder<GetSessionResponse.Builder,GetSessionResponse> 
- 
Method SummaryModifier and TypeMethodDescriptiondefault GetSessionResponse.Buildersession(Consumer<Session.Builder> session) The sessions in a list.The sessions in a list.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.workspacesweb.model.WorkSpacesWebResponse.Builderbuild, responseMetadata, responseMetadata
- 
Method Details- 
sessionThe sessions in a list. - Parameters:
- session- The sessions in a list.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sessionThe sessions in a list. This is a convenience method that creates an instance of theSession.Builderavoiding the need to create one manually viaSession.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosession(Session).- Parameters:
- session- a consumer that will call methods on- Session.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-