Interface UpdateWorkloadResponse.Builder
- All Superinterfaces:
ApplicationInsightsResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateWorkloadResponse.Builder,
,UpdateWorkloadResponse> SdkBuilder<UpdateWorkloadResponse.Builder,
,UpdateWorkloadResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateWorkloadResponse
public static interface UpdateWorkloadResponse.Builder
extends ApplicationInsightsResponse.Builder, SdkPojo, CopyableBuilder<UpdateWorkloadResponse.Builder,UpdateWorkloadResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateWorkloadResponse.Builder
workloadConfiguration
(Consumer<WorkloadConfiguration.Builder> workloadConfiguration) The configuration settings of the workload.workloadConfiguration
(WorkloadConfiguration workloadConfiguration) The configuration settings of the workload.workloadId
(String workloadId) The ID of the workload.Methods inherited from interface software.amazon.awssdk.services.applicationinsights.model.ApplicationInsightsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
workloadId
The ID of the workload.
- Parameters:
workloadId
- The ID of the workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workloadConfiguration
The configuration settings of the workload. The value is the escaped JSON of the configuration.
- Parameters:
workloadConfiguration
- The configuration settings of the workload. The value is the escaped JSON of the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workloadConfiguration
default UpdateWorkloadResponse.Builder workloadConfiguration(Consumer<WorkloadConfiguration.Builder> workloadConfiguration) The configuration settings of the workload. The value is the escaped JSON of the configuration.
This is a convenience method that creates an instance of theWorkloadConfiguration.Builder
avoiding the need to create one manually viaWorkloadConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toworkloadConfiguration(WorkloadConfiguration)
.- Parameters:
workloadConfiguration
- a consumer that will call methods onWorkloadConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-