Interface RemoteAgentServiceDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RemoteAgentServiceDetails.Builder,,RemoteAgentServiceDetails> SdkBuilder<RemoteAgentServiceDetails.Builder,,RemoteAgentServiceDetails> SdkPojo
- Enclosing class:
RemoteAgentServiceDetails
@Mutable
@NotThreadSafe
public static interface RemoteAgentServiceDetails.Builder
extends SdkPojo, CopyableBuilder<RemoteAgentServiceDetails.Builder,RemoteAgentServiceDetails>
-
Method Summary
Modifier and TypeMethodDescriptionauthorizationConfig(Consumer<RemoteAgentAuthorizationConfig.Builder> authorizationConfig) Remote agent authorization configuration.authorizationConfig(RemoteAgentAuthorizationConfig authorizationConfig) Remote agent authorization configuration.description(String description) Sets the value of the Description property for this object.Sets the value of the Endpoint property for this object.Sets the value of the Name property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
Sets the value of the Name property for this object.- Parameters:
name- The new value for the Name property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoint
Sets the value of the Endpoint property for this object.- Parameters:
endpoint- The new value for the Endpoint property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Sets the value of the Description property for this object.- Parameters:
description- The new value for the Description property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizationConfig
RemoteAgentServiceDetails.Builder authorizationConfig(RemoteAgentAuthorizationConfig authorizationConfig) Remote agent authorization configuration.
- Parameters:
authorizationConfig- Remote agent authorization configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizationConfig
default RemoteAgentServiceDetails.Builder authorizationConfig(Consumer<RemoteAgentAuthorizationConfig.Builder> authorizationConfig) Remote agent authorization configuration.
This is a convenience method that creates an instance of theRemoteAgentAuthorizationConfig.Builderavoiding the need to create one manually viaRemoteAgentAuthorizationConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthorizationConfig(RemoteAgentAuthorizationConfig).- Parameters:
authorizationConfig- a consumer that will call methods onRemoteAgentAuthorizationConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-