Interface DescribeServiceIntegrationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeServiceIntegrationResponse.Builder,,DescribeServiceIntegrationResponse> DevOpsGuruResponse.Builder,SdkBuilder<DescribeServiceIntegrationResponse.Builder,,DescribeServiceIntegrationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeServiceIntegrationResponse
public static interface DescribeServiceIntegrationResponse.Builder
extends DevOpsGuruResponse.Builder, SdkPojo, CopyableBuilder<DescribeServiceIntegrationResponse.Builder,DescribeServiceIntegrationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionserviceIntegration(Consumer<ServiceIntegrationConfig.Builder> serviceIntegration) Sets the value of the ServiceIntegration property for this object.serviceIntegration(ServiceIntegrationConfig serviceIntegration) Sets the value of the ServiceIntegration property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devopsguru.model.DevOpsGuruResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
serviceIntegration
DescribeServiceIntegrationResponse.Builder serviceIntegration(ServiceIntegrationConfig serviceIntegration) Sets the value of the ServiceIntegration property for this object.- Parameters:
serviceIntegration- The new value for the ServiceIntegration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceIntegration
default DescribeServiceIntegrationResponse.Builder serviceIntegration(Consumer<ServiceIntegrationConfig.Builder> serviceIntegration) Sets the value of the ServiceIntegration property for this object. This is a convenience method that creates an instance of theServiceIntegrationConfig.Builderavoiding the need to create one manually viaServiceIntegrationConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserviceIntegration(ServiceIntegrationConfig).- Parameters:
serviceIntegration- a consumer that will call methods onServiceIntegrationConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-