Interface CreateCloudConnectorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateCloudConnectorRequest.Builder,,CreateCloudConnectorRequest> SdkBuilder<CreateCloudConnectorRequest.Builder,,CreateCloudConnectorRequest> SdkPojo,SdkRequest.Builder,SsmRequest.Builder
- Enclosing class:
CreateCloudConnectorRequest
-
Method Summary
Modifier and TypeMethodDescriptionconfigConnectorArn(String configConnectorArn) The ARN of the Amazon Web Services Config connector associated with this cloud connector.configuration(Consumer<CloudConnectorConfiguration.Builder> configuration) The configuration details for connecting to the third-party cloud environment.configuration(CloudConnectorConfiguration configuration) The configuration details for connecting to the third-party cloud environment.description(String description) A description for the cloud connector.displayName(String displayName) A friendly name for the cloud connector.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of the IAM role that the cloud connector uses to communicate with the third-party cloud environment.tags(Collection<Tag> tags) Optional metadata that you assign to a resource.tags(Consumer<Tag.Builder>... tags) Optional metadata that you assign to a resource.Optional metadata that you assign to a resource.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.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.ssm.model.SsmRequest.Builder
build
-
Method Details
-
displayName
A friendly name for the cloud connector.
- Parameters:
displayName- A friendly name for the cloud connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The Amazon Resource Name (ARN) of the IAM role that the cloud connector uses to communicate with the third-party cloud environment.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role that the cloud connector uses to communicate with the third-party cloud environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description for the cloud connector.
- Parameters:
description- A description for the cloud connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The configuration details for connecting to the third-party cloud environment.
- Parameters:
configuration- The configuration details for connecting to the third-party cloud environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default CreateCloudConnectorRequest.Builder configuration(Consumer<CloudConnectorConfiguration.Builder> configuration) The configuration details for connecting to the third-party cloud environment.
This is a convenience method that creates an instance of theCloudConnectorConfiguration.Builderavoiding the need to create one manually viaCloudConnectorConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(CloudConnectorConfiguration).- Parameters:
configuration- a consumer that will call methods onCloudConnectorConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
configConnectorArn
The ARN of the Amazon Web Services Config connector associated with this cloud connector.
- Parameters:
configConnectorArn- The ARN of the Amazon Web Services Config connector associated with this cloud connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Optional metadata that you assign to a resource. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment.
- Parameters:
tags- Optional metadata that you assign to a resource. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Optional metadata that you assign to a resource. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment.
- Parameters:
tags- Optional metadata that you assign to a resource. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Optional metadata that you assign to a resource. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateCloudConnectorRequest.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
CreateCloudConnectorRequest.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.
-