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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GrantAccessResponse.BuildertemporaryCredential(Consumer<TemporaryCredential.Builder> temporaryCredential)ATemporaryCredentialobject that contains the data needed to log in to the instance by RDP clients, such as the Microsoft Remote Desktop Connection.GrantAccessResponse.BuildertemporaryCredential(TemporaryCredential temporaryCredential)ATemporaryCredentialobject 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 Detail
-
temporaryCredential
GrantAccessResponse.Builder temporaryCredential(TemporaryCredential temporaryCredential)
A
TemporaryCredentialobject that contains the data needed to log in to the instance by RDP clients, such as the Microsoft Remote Desktop Connection.- Parameters:
temporaryCredential- ATemporaryCredentialobject 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 theTemporaryCredentialobject that contains the data needed to log in to the instance by RDP clients, such as the Microsoft Remote Desktop Connection.TemporaryCredential.Builderavoiding the need to create one manually viaTemporaryCredential.builder().When the
Consumercompletes,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:
temporaryCredential(TemporaryCredential)
-
-