Interface AddWorkloadResponse.Builder
-
- All Superinterfaces:
ApplicationInsightsResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<AddWorkloadResponse.Builder,AddWorkloadResponse>,SdkBuilder<AddWorkloadResponse.Builder,AddWorkloadResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- AddWorkloadResponse
public static interface AddWorkloadResponse.Builder extends ApplicationInsightsResponse.Builder, SdkPojo, CopyableBuilder<AddWorkloadResponse.Builder,AddWorkloadResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AddWorkloadResponse.BuilderworkloadConfiguration(Consumer<WorkloadConfiguration.Builder> workloadConfiguration)The configuration settings of the workload.AddWorkloadResponse.BuilderworkloadConfiguration(WorkloadConfiguration workloadConfiguration)The configuration settings of the workload.AddWorkloadResponse.BuilderworkloadId(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 Detail
-
workloadId
AddWorkloadResponse.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.
-
workloadConfiguration
AddWorkloadResponse.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 AddWorkloadResponse.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)
-
-