Interface CreateConnectorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateConnectorRequest.Builder,,CreateConnectorRequest> Inspector2Request.Builder,SdkBuilder<CreateConnectorRequest.Builder,,CreateConnectorRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateConnectorRequest
@Mutable
@NotThreadSafe
public static interface CreateConnectorRequest.Builder
extends Inspector2Request.Builder, SdkPojo, CopyableBuilder<CreateConnectorRequest.Builder,CreateConnectorRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time.description(String description) A description of the connector.The name of the connector.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The cloud provider for the connector.provider(ConnectorCloudProvider provider) The cloud provider for the connector.default CreateConnectorRequest.BuilderproviderDetail(Consumer<ProviderDetailCreate.Builder> providerDetail) The provider-specific configuration details for the connector.providerDetail(ProviderDetailCreate providerDetail) The provider-specific configuration details for the connector.The tags to apply to the connector.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clientToken
A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request but does not return an error.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request but does not return an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the connector.
- Parameters:
name- The name of the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provider
The cloud provider for the connector.
- Parameters:
provider- The cloud provider for the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
provider
The cloud provider for the connector.
- Parameters:
provider- The cloud provider for the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A description of the connector.
- Parameters:
description- A description of the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
providerDetail
The provider-specific configuration details for the connector.
- Parameters:
providerDetail- The provider-specific configuration details for the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
providerDetail
default CreateConnectorRequest.Builder providerDetail(Consumer<ProviderDetailCreate.Builder> providerDetail) The provider-specific configuration details for the connector.
This is a convenience method that creates an instance of theProviderDetailCreate.Builderavoiding the need to create one manually viaProviderDetailCreate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toproviderDetail(ProviderDetailCreate).- Parameters:
providerDetail- a consumer that will call methods onProviderDetailCreate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags to apply to the connector.
- Parameters:
tags- The tags to apply to the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateConnectorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateConnectorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-