public static interface GrantAccessResponse.Builder extends OpsWorksResponse.Builder, CopyableBuilder<GrantAccessResponse.Builder,GrantAccessResponse>
| Modifier and Type | Method and Description |
|---|---|
default GrantAccessResponse.Builder |
temporaryCredential(Consumer<TemporaryCredential.Builder> 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. |
GrantAccessResponse.Builder |
temporaryCredential(TemporaryCredential 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. |
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildGrantAccessResponse.Builder temporaryCredential(TemporaryCredential 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.
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.default GrantAccessResponse.Builder temporaryCredential(Consumer<TemporaryCredential.Builder> 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.
TemporaryCredential.Builder avoiding the need
to create one manually via TemporaryCredential.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to temporaryCredential(TemporaryCredential).temporaryCredential - a consumer that will call methods on TemporaryCredential.BuildertemporaryCredential(TemporaryCredential)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.