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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateWorkloadRequest.BuildercomponentName(String componentName)The name of the component.UpdateWorkloadRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateWorkloadRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateWorkloadRequest.BuilderresourceGroupName(String resourceGroupName)The name of the resource group.default UpdateWorkloadRequest.BuilderworkloadConfiguration(Consumer<WorkloadConfiguration.Builder> workloadConfiguration)The configuration settings of the workload.UpdateWorkloadRequest.BuilderworkloadConfiguration(WorkloadConfiguration workloadConfiguration)The configuration settings of the workload.UpdateWorkloadRequest.BuilderworkloadId(String workloadId)The ID of the workload.-
Methods inherited from interface software.amazon.awssdk.services.applicationinsights.model.ApplicationInsightsRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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
-
-
-
-
Method Detail
-
resourceGroupName
UpdateWorkloadRequest.Builder resourceGroupName(String 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
UpdateWorkloadRequest.Builder componentName(String 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
UpdateWorkloadRequest.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
UpdateWorkloadRequest.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 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:
workloadConfiguration(WorkloadConfiguration)
-
overrideConfiguration
UpdateWorkloadRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateWorkloadRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-