Interface AddWorkloadRequest.Builder
- All Superinterfaces:
 ApplicationInsightsRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<AddWorkloadRequest.Builder,,AddWorkloadRequest> SdkBuilder<AddWorkloadRequest.Builder,,AddWorkloadRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
 AddWorkloadRequest
public static interface AddWorkloadRequest.Builder
extends ApplicationInsightsRequest.Builder, SdkPojo, CopyableBuilder<AddWorkloadRequest.Builder,AddWorkloadRequest> 
- 
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 AddWorkloadRequest.BuilderworkloadConfiguration(Consumer<WorkloadConfiguration.Builder> workloadConfiguration) The configuration settings of the workload.workloadConfiguration(WorkloadConfiguration workloadConfiguration) The configuration settings 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.
 
 - 
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 AddWorkloadRequest.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
AddWorkloadRequest.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
AddWorkloadRequest.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.
 
 
 -