Interface UpdateWorkloadRequest.Builder
- All Superinterfaces:
ApplicationInsightsRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateWorkloadRequest.Builder,,UpdateWorkloadRequest> SdkBuilder<UpdateWorkloadRequest.Builder,,UpdateWorkloadRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateWorkloadRequest
public static interface UpdateWorkloadRequest.Builder
extends ApplicationInsightsRequest.Builder, SdkPojo, CopyableBuilder<UpdateWorkloadRequest.Builder,UpdateWorkloadRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncomponentName(String componentName) The name of the component.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceGroupName(String resourceGroupName) The name of the resource group.default UpdateWorkloadRequest.BuilderworkloadConfiguration(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.ApplicationInsightsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
resourceGroupName
The name of the resource group.
- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentName
The name of the component.
- Parameters:
componentName- The name of the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 UpdateWorkloadRequest.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:
-
overrideConfiguration
UpdateWorkloadRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateWorkloadRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-