Interface CreateIntegrationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchOmniRequest.Builder,CopyableBuilder<CreateIntegrationRequest.Builder,,CreateIntegrationRequest> SdkBuilder<CreateIntegrationRequest.Builder,,CreateIntegrationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateIntegrationRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) Idempotency token for safe retries.default CreateIntegrationRequest.Buildercredential(Consumer<IntegrationCredential.Builder> credential) The credential used to authenticate with the third-party provider.credential(IntegrationCredential credential) The credential used to authenticate with the third-party provider.integrationAttributes(Map<String, String> integrationAttributes) Provider-specific attributes to associate with the integration.integrationType(String integrationType) The type of third-party provider to integrate with.integrationType(IntegrationType integrationType) The type of third-party provider to integrate with.The name for the new integration; unique within the account.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name of the IAM role assumed to access the integration.Tags to apply to the integration at creation time (Tagris tag-on-create).Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatchomni.model.CloudWatchOmniRequest.Builder
buildMethods 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
-
integrationType
The type of third-party provider to integrate with.
- Parameters:
integrationType- The type of third-party provider to integrate with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
integrationType
The type of third-party provider to integrate with.
- Parameters:
integrationType- The type of third-party provider to integrate with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name for the new integration; unique within the account.
- Parameters:
name- The name for the new integration; unique within the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credential
The credential used to authenticate with the third-party provider.
- Parameters:
credential- The credential used to authenticate with the third-party provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credential
default CreateIntegrationRequest.Builder credential(Consumer<IntegrationCredential.Builder> credential) The credential used to authenticate with the third-party provider.
This is a convenience method that creates an instance of theIntegrationCredential.Builderavoiding the need to create one manually viaIntegrationCredential.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocredential(IntegrationCredential).- Parameters:
credential- a consumer that will call methods onIntegrationCredential.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
integrationAttributes
Provider-specific attributes to associate with the integration.
- Parameters:
integrationAttributes- Provider-specific attributes to associate with the integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The Amazon Resource Name of the IAM role assumed to access the integration.
- Parameters:
roleArn- The Amazon Resource Name of the IAM role assumed to access the integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags to apply to the integration at creation time (Tagris tag-on-create).
- Parameters:
tags- Tags to apply to the integration at creation time (Tagris tag-on-create).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Idempotency token for safe retries. Retrying with the same token returns the original integration instead of creating a duplicate.
- Parameters:
clientToken- Idempotency token for safe retries. Retrying with the same token returns the original integration instead of creating a duplicate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateIntegrationRequest.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
CreateIntegrationRequest.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.
-