Interface DescribeWorkloadResponse.Builder
- All Superinterfaces:
ApplicationInsightsResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeWorkloadResponse.Builder,
,DescribeWorkloadResponse> SdkBuilder<DescribeWorkloadResponse.Builder,
,DescribeWorkloadResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeWorkloadResponse
public static interface DescribeWorkloadResponse.Builder
extends ApplicationInsightsResponse.Builder, SdkPojo, CopyableBuilder<DescribeWorkloadResponse.Builder,DescribeWorkloadResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DescribeWorkloadResponse.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.workloadRemarks
(String workloadRemarks) If logging is supported for the resource type, shows whether the component has configured logs to be monitored.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.
-
workloadRemarks
If logging is supported for the resource type, shows whether the component has configured logs to be monitored.
- Parameters:
workloadRemarks
- If logging is supported for the resource type, shows whether the component has configured logs to be monitored.- 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 DescribeWorkloadResponse.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:
-