Interface UpdateIntegrationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchOmniResponse.Builder,CopyableBuilder<UpdateIntegrationResponse.Builder,,UpdateIntegrationResponse> SdkBuilder<UpdateIntegrationResponse.Builder,,UpdateIntegrationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateIntegrationResponse
@Mutable
@NotThreadSafe
public static interface UpdateIntegrationResponse.Builder
extends CloudWatchOmniResponse.Builder, SdkPojo, CopyableBuilder<UpdateIntegrationResponse.Builder,UpdateIntegrationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionintegration(Consumer<Integration.Builder> integration) The details of the updated integration.integration(Integration integration) The details of the updated integration.Methods inherited from interface software.amazon.awssdk.services.cloudwatchomni.model.CloudWatchOmniResponse.Builder
build, responseMetadata, responseMetadataMethods 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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
integration
The details of the updated integration. This is the same object returned by GetIntegration and CreateIntegration. Populated on a successful update; absent only if the post-update read-back of the resource did not complete.
- Parameters:
integration- The details of the updated integration. This is the same object returned by GetIntegration and CreateIntegration. Populated on a successful update; absent only if the post-update read-back of the resource did not complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
integration
The details of the updated integration. This is the same object returned by GetIntegration and CreateIntegration. Populated on a successful update; absent only if the post-update read-back of the resource did not complete.
This is a convenience method that creates an instance of theIntegration.Builderavoiding the need to create one manually viaIntegration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tointegration(Integration).- Parameters:
integration- a consumer that will call methods onIntegration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-