Interface PutIntegrationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchLogsRequest.Builder,CopyableBuilder<PutIntegrationRequest.Builder,,PutIntegrationRequest> SdkBuilder<PutIntegrationRequest.Builder,,PutIntegrationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutIntegrationRequest
@Mutable
@NotThreadSafe
public static interface PutIntegrationRequest.Builder
extends CloudWatchLogsRequest.Builder, SdkPojo, CopyableBuilder<PutIntegrationRequest.Builder,PutIntegrationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionintegrationName(String integrationName) A name for the integration.integrationType(String integrationType) The type of integration.integrationType(IntegrationType integrationType) The type of integration.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default PutIntegrationRequest.BuilderresourceConfig(Consumer<ResourceConfig.Builder> resourceConfig) A structure that contains configuration information for the integration that you are creating.resourceConfig(ResourceConfig resourceConfig) A structure that contains configuration information for the integration that you are creating.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest.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
-
integrationName
A name for the integration.
- Parameters:
integrationName- A name for the integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceConfig
A structure that contains configuration information for the integration that you are creating.
- Parameters:
resourceConfig- A structure that contains configuration information for the integration that you are creating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceConfig
default PutIntegrationRequest.Builder resourceConfig(Consumer<ResourceConfig.Builder> resourceConfig) A structure that contains configuration information for the integration that you are creating.
This is a convenience method that creates an instance of theResourceConfig.Builderavoiding the need to create one manually viaResourceConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceConfig(ResourceConfig).- Parameters:
resourceConfig- a consumer that will call methods onResourceConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
integrationType
The type of integration. Currently, the only supported type is
OPENSEARCH.- Parameters:
integrationType- The type of integration. Currently, the only supported type isOPENSEARCH.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
integrationType
The type of integration. Currently, the only supported type is
OPENSEARCH.- Parameters:
integrationType- The type of integration. Currently, the only supported type isOPENSEARCH.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutIntegrationRequest.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
PutIntegrationRequest.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.
-