Interface GrantAccessResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GrantAccessResponse.Builder,
,GrantAccessResponse> OpsWorksResponse.Builder
,SdkBuilder<GrantAccessResponse.Builder,
,GrantAccessResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GrantAccessResponse
public static interface GrantAccessResponse.Builder
extends OpsWorksResponse.Builder, SdkPojo, CopyableBuilder<GrantAccessResponse.Builder,GrantAccessResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GrantAccessResponse.Builder
temporaryCredential
(Consumer<TemporaryCredential.Builder> temporaryCredential) ATemporaryCredential
object that contains the data needed to log in to the instance by RDP clients, such as the Microsoft Remote Desktop Connection.temporaryCredential
(TemporaryCredential temporaryCredential) ATemporaryCredential
object that contains the data needed to log in to the instance by RDP clients, such as the Microsoft Remote Desktop Connection.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.opsworks.model.OpsWorksResponse.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
-
temporaryCredential
A
TemporaryCredential
object that contains the data needed to log in to the instance by RDP clients, such as the Microsoft Remote Desktop Connection.- Parameters:
temporaryCredential
- ATemporaryCredential
object that contains the data needed to log in to the instance by RDP clients, such as the Microsoft Remote Desktop Connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
temporaryCredential
default GrantAccessResponse.Builder temporaryCredential(Consumer<TemporaryCredential.Builder> temporaryCredential) A
This is a convenience method that creates an instance of theTemporaryCredential
object that contains the data needed to log in to the instance by RDP clients, such as the Microsoft Remote Desktop Connection.TemporaryCredential.Builder
avoiding the need to create one manually viaTemporaryCredential.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totemporaryCredential(TemporaryCredential)
.- Parameters:
temporaryCredential
- a consumer that will call methods onTemporaryCredential.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-