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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeWorkloadResponse.BuilderworkloadConfiguration(Consumer<WorkloadConfiguration.Builder> workloadConfiguration)The configuration settings of the workload.DescribeWorkloadResponse.BuilderworkloadConfiguration(WorkloadConfiguration workloadConfiguration)The configuration settings of the workload.DescribeWorkloadResponse.BuilderworkloadId(String workloadId)The ID of the workload.DescribeWorkloadResponse.BuilderworkloadRemarks(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 Detail
-
workloadId
DescribeWorkloadResponse.Builder workloadId(String 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
DescribeWorkloadResponse.Builder workloadRemarks(String 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
DescribeWorkloadResponse.Builder workloadConfiguration(WorkloadConfiguration 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.Builderavoiding the need to create one manually viaWorkloadConfiguration.builder().When the
Consumercompletes,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:
workloadConfiguration(WorkloadConfiguration)
-
-