Interface CreateConnectorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateConnectorRequest.Builder,
,CreateConnectorRequest> PcaConnectorAdRequest.Builder
,SdkBuilder<CreateConnectorRequest.Builder,
,CreateConnectorRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateConnectorRequest
@Mutable
@NotThreadSafe
public static interface CreateConnectorRequest.Builder
extends PcaConnectorAdRequest.Builder, SdkPojo, CopyableBuilder<CreateConnectorRequest.Builder,CreateConnectorRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncertificateAuthorityArn
(String certificateAuthorityArn) The Amazon Resource Name (ARN) of the certificate authority being used.clientToken
(String clientToken) Idempotency token.directoryId
(String directoryId) The identifier of the Active Directory.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Metadata assigned to a connector consisting of a key-value pair.default CreateConnectorRequest.Builder
vpcInformation
(Consumer<VpcInformation.Builder> vpcInformation) Information about your VPC and security groups used with the connector.vpcInformation
(VpcInformation vpcInformation) Information about your VPC and security groups used with the connector.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.pcaconnectorad.model.PcaConnectorAdRequest.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
-
certificateAuthorityArn
The Amazon Resource Name (ARN) of the certificate authority being used.
- Parameters:
certificateAuthorityArn
- The Amazon Resource Name (ARN) of the certificate authority being used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Idempotency token.
- Parameters:
clientToken
- Idempotency token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
directoryId
The identifier of the Active Directory.
- Parameters:
directoryId
- The identifier of the Active Directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata assigned to a connector consisting of a key-value pair.
- Parameters:
tags
- Metadata assigned to a connector consisting of a key-value pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcInformation
Information about your VPC and security groups used with the connector.
- Parameters:
vpcInformation
- Information about your VPC and security groups used with the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcInformation
default CreateConnectorRequest.Builder vpcInformation(Consumer<VpcInformation.Builder> vpcInformation) Information about your VPC and security groups used with the connector.
This is a convenience method that creates an instance of theVpcInformation.Builder
avoiding the need to create one manually viaVpcInformation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcInformation(VpcInformation)
.- Parameters:
vpcInformation
- a consumer that will call methods onVpcInformation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateConnectorRequest.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
CreateConnectorRequest.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.
-