Interface UpdateConnectionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateConnectionRequest.Builder,
,UpdateConnectionRequest> DataZoneRequest.Builder
,SdkBuilder<UpdateConnectionRequest.Builder,
,UpdateConnectionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateConnectionRequest
@Mutable
@NotThreadSafe
public static interface UpdateConnectionRequest.Builder
extends DataZoneRequest.Builder, SdkPojo, CopyableBuilder<UpdateConnectionRequest.Builder,UpdateConnectionRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateConnectionRequest.Builder
awsLocation
(Consumer<AwsLocation.Builder> awsLocation) The location where a connection is to be updated.awsLocation
(AwsLocation awsLocation) The location where a connection is to be updated.description
(String description) The description of a connection.domainIdentifier
(String domainIdentifier) The ID of the domain where a connection is to be updated.identifier
(String identifier) The ID of the connection to be updated.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateConnectionRequest.Builder
The connection props.props
(ConnectionPropertiesPatch props) The connection props.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
awsLocation
The location where a connection is to be updated.
- Parameters:
awsLocation
- The location where a connection is to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsLocation
The location where a connection is to be updated.
This is a convenience method that creates an instance of theAwsLocation.Builder
avoiding the need to create one manually viaAwsLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toawsLocation(AwsLocation)
.- Parameters:
awsLocation
- a consumer that will call methods onAwsLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description of a connection.
- Parameters:
description
- The description of a connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainIdentifier
The ID of the domain where a connection is to be updated.
- Parameters:
domainIdentifier
- The ID of the domain where a connection is to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identifier
The ID of the connection to be updated.
- Parameters:
identifier
- The ID of the connection to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
props
The connection props.
- Parameters:
props
- The connection props.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
props
The connection props.
This is a convenience method that creates an instance of theConnectionPropertiesPatch.Builder
avoiding the need to create one manually viaConnectionPropertiesPatch.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprops(ConnectionPropertiesPatch)
.- Parameters:
props
- a consumer that will call methods onConnectionPropertiesPatch.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateConnectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateConnectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-