Interface CreateApplicationRequest.Builder
- All Superinterfaces:
ApplicationInsightsRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateApplicationRequest.Builder,
,CreateApplicationRequest> SdkBuilder<CreateApplicationRequest.Builder,
,CreateApplicationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateApplicationRequest
-
Method Summary
Modifier and TypeMethodDescriptionattachMissingPermission
(Boolean attachMissingPermission) If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.autoConfigEnabled
(Boolean autoConfigEnabled) Indicates whether Application Insights automatically configures unmonitored resources in the resource group.autoCreate
(Boolean autoCreate) Configures all of the resources in the resource group by applying the recommended configurations.cweMonitorEnabled
(Boolean cweMonitorEnabled) Indicates whether Application Insights can listen to CloudWatch events for the application resources, such asinstance terminated
,failed deployment
, and others.groupingType
(String groupingType) Application Insights can create applications based on a resource group or on an account.groupingType
(GroupingType groupingType) Application Insights can create applications based on a resource group or on an account.opsCenterEnabled
(Boolean opsCenterEnabled) When set totrue
, creates opsItems for any problems detected on an application.opsItemSNSTopicArn
(String opsItemSNSTopicArn) The SNS topic provided to Application Insights that is associated to the created opsItem.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.tags
(Collection<Tag> tags) List of tags to add to the application.tags
(Consumer<Tag.Builder>... tags) List of tags to add to the application.List of tags to add to the application.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 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.
-
opsCenterEnabled
When set to
true
, creates opsItems for any problems detected on an application.- Parameters:
opsCenterEnabled
- When set totrue
, creates opsItems for any problems detected on an application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cweMonitorEnabled
Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as
instance terminated
,failed deployment
, and others.- Parameters:
cweMonitorEnabled
- Indicates whether Application Insights can listen to CloudWatch events for the application resources, such asinstance terminated
,failed deployment
, and others.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
opsItemSNSTopicArn
The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem.
- Parameters:
opsItemSNSTopicArn
- The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
List of tags to add to the application. tag key (
Key
) and an associated tag value (Value
). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.- Parameters:
tags
- List of tags to add to the application. tag key (Key
) and an associated tag value (Value
). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
List of tags to add to the application. tag key (
Key
) and an associated tag value (Value
). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.- Parameters:
tags
- List of tags to add to the application. tag key (Key
) and an associated tag value (Value
). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
List of tags to add to the application. tag key (
This is a convenience method that creates an instance of theKey
) and an associated tag value (Value
). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.Tag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
autoConfigEnabled
Indicates whether Application Insights automatically configures unmonitored resources in the resource group.
- Parameters:
autoConfigEnabled
- Indicates whether Application Insights automatically configures unmonitored resources in the resource group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoCreate
Configures all of the resources in the resource group by applying the recommended configurations.
- Parameters:
autoCreate
- Configures all of the resources in the resource group by applying the recommended configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupingType
Application Insights can create applications based on a resource group or on an account. To create an account-based application using all of the resources in the account, set this parameter to
ACCOUNT_BASED
.- Parameters:
groupingType
- Application Insights can create applications based on a resource group or on an account. To create an account-based application using all of the resources in the account, set this parameter toACCOUNT_BASED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groupingType
Application Insights can create applications based on a resource group or on an account. To create an account-based application using all of the resources in the account, set this parameter to
ACCOUNT_BASED
.- Parameters:
groupingType
- Application Insights can create applications based on a resource group or on an account. To create an account-based application using all of the resources in the account, set this parameter toACCOUNT_BASED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attachMissingPermission
If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.
- Parameters:
attachMissingPermission
- If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateApplicationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateApplicationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-