Interface CreateApplicationRequest.Builder
-
- All Superinterfaces:
ApplicationInsightsRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateApplicationRequest.Builder,CreateApplicationRequest>,SdkBuilder<CreateApplicationRequest.Builder,CreateApplicationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateApplicationRequest
public static interface CreateApplicationRequest.Builder extends ApplicationInsightsRequest.Builder, SdkPojo, CopyableBuilder<CreateApplicationRequest.Builder,CreateApplicationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateApplicationRequest.BuilderattachMissingPermission(Boolean attachMissingPermission)If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.CreateApplicationRequest.BuilderautoConfigEnabled(Boolean autoConfigEnabled)Indicates whether Application Insights automatically configures unmonitored resources in the resource group.CreateApplicationRequest.BuilderautoCreate(Boolean autoCreate)Configures all of the resources in the resource group by applying the recommended configurations.CreateApplicationRequest.BuildercweMonitorEnabled(Boolean cweMonitorEnabled)Indicates whether Application Insights can listen to CloudWatch events for the application resources, such asinstance terminated,failed deployment, and others.CreateApplicationRequest.BuildergroupingType(String groupingType)Application Insights can create applications based on a resource group or on an account.CreateApplicationRequest.BuildergroupingType(GroupingType groupingType)Application Insights can create applications based on a resource group or on an account.CreateApplicationRequest.BuilderopsCenterEnabled(Boolean opsCenterEnabled)When set totrue, creates opsItems for any problems detected on an application.CreateApplicationRequest.BuilderopsItemSNSTopicArn(String opsItemSNSTopicArn)The SNS topic provided to Application Insights that is associated to the created opsItem.CreateApplicationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateApplicationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateApplicationRequest.BuilderresourceGroupName(String resourceGroupName)The name of the resource group.CreateApplicationRequest.Buildertags(Collection<Tag> tags)List of tags to add to the application.CreateApplicationRequest.Buildertags(Consumer<Tag.Builder>... tags)List of tags to add to the application.CreateApplicationRequest.Buildertags(Tag... tags)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 Detail
-
resourceGroupName
CreateApplicationRequest.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.
-
opsCenterEnabled
CreateApplicationRequest.Builder opsCenterEnabled(Boolean 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
CreateApplicationRequest.Builder cweMonitorEnabled(Boolean 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
CreateApplicationRequest.Builder opsItemSNSTopicArn(String 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
CreateApplicationRequest.Builder tags(Collection<Tag> 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
CreateApplicationRequest.Builder tags(Tag... 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
CreateApplicationRequest.Builder tags(Consumer<Tag.Builder>... 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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
autoConfigEnabled
CreateApplicationRequest.Builder autoConfigEnabled(Boolean 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
CreateApplicationRequest.Builder autoCreate(Boolean 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
CreateApplicationRequest.Builder groupingType(String 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,GroupingType
-
groupingType
CreateApplicationRequest.Builder groupingType(GroupingType 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,GroupingType
-
attachMissingPermission
CreateApplicationRequest.Builder attachMissingPermission(Boolean 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateApplicationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-