@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateApplicationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateApplicationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateApplicationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getAttachMissingPermission()
If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.
|
Boolean |
getAutoConfigEnabled()
Indicates whether Application Insights automatically configures unmonitored resources in the resource group.
|
Boolean |
getAutoCreate()
Configures all of the resources in the resource group by applying the recommended configurations.
|
Boolean |
getCWEMonitorEnabled()
Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as
instance terminated , failed deployment , and others. |
String |
getGroupingType()
Application Insights can create applications based on a resource group or on an account.
|
Boolean |
getOpsCenterEnabled()
When set to
true , creates opsItems for any problems detected on an application. |
String |
getOpsItemSNSTopicArn()
The SNS topic provided to Application Insights that is associated to the created opsItem.
|
String |
getResourceGroupName()
The name of the resource group.
|
List<Tag> |
getTags()
List of tags to add to the application.
|
int |
hashCode() |
Boolean |
isAttachMissingPermission()
If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.
|
Boolean |
isAutoConfigEnabled()
Indicates whether Application Insights automatically configures unmonitored resources in the resource group.
|
Boolean |
isAutoCreate()
Configures all of the resources in the resource group by applying the recommended configurations.
|
Boolean |
isCWEMonitorEnabled()
Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as
instance terminated , failed deployment , and others. |
Boolean |
isOpsCenterEnabled()
When set to
true , creates opsItems for any problems detected on an application. |
void |
setAttachMissingPermission(Boolean attachMissingPermission)
If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.
|
void |
setAutoConfigEnabled(Boolean autoConfigEnabled)
Indicates whether Application Insights automatically configures unmonitored resources in the resource group.
|
void |
setAutoCreate(Boolean autoCreate)
Configures all of the resources in the resource group by applying the recommended configurations.
|
void |
setCWEMonitorEnabled(Boolean cWEMonitorEnabled)
Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as
instance terminated , failed deployment , and others. |
void |
setGroupingType(String groupingType)
Application Insights can create applications based on a resource group or on an account.
|
void |
setOpsCenterEnabled(Boolean opsCenterEnabled)
When set to
true , creates opsItems for any problems detected on an application. |
void |
setOpsItemSNSTopicArn(String opsItemSNSTopicArn)
The SNS topic provided to Application Insights that is associated to the created opsItem.
|
void |
setResourceGroupName(String resourceGroupName)
The name of the resource group.
|
void |
setTags(Collection<Tag> tags)
List of tags to add to the application.
|
String |
toString()
Returns a string representation of this object.
|
CreateApplicationRequest |
withAttachMissingPermission(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 |
withAutoConfigEnabled(Boolean autoConfigEnabled)
Indicates whether Application Insights automatically configures unmonitored resources in the resource group.
|
CreateApplicationRequest |
withAutoCreate(Boolean autoCreate)
Configures all of the resources in the resource group by applying the recommended configurations.
|
CreateApplicationRequest |
withCWEMonitorEnabled(Boolean cWEMonitorEnabled)
Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as
instance terminated , failed deployment , and others. |
CreateApplicationRequest |
withGroupingType(GroupingType groupingType)
Application Insights can create applications based on a resource group or on an account.
|
CreateApplicationRequest |
withGroupingType(String groupingType)
Application Insights can create applications based on a resource group or on an account.
|
CreateApplicationRequest |
withOpsCenterEnabled(Boolean opsCenterEnabled)
When set to
true , creates opsItems for any problems detected on an application. |
CreateApplicationRequest |
withOpsItemSNSTopicArn(String opsItemSNSTopicArn)
The SNS topic provided to Application Insights that is associated to the created opsItem.
|
CreateApplicationRequest |
withResourceGroupName(String resourceGroupName)
The name of the resource group.
|
CreateApplicationRequest |
withTags(Collection<Tag> tags)
List of tags to add to the application.
|
CreateApplicationRequest |
withTags(Tag... tags)
List of tags to add to the application.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setResourceGroupName(String resourceGroupName)
The name of the resource group.
resourceGroupName
- The name of the resource group.public String getResourceGroupName()
The name of the resource group.
public CreateApplicationRequest withResourceGroupName(String resourceGroupName)
The name of the resource group.
resourceGroupName
- The name of the resource group.public void setOpsCenterEnabled(Boolean opsCenterEnabled)
When set to true
, creates opsItems for any problems detected on an application.
opsCenterEnabled
- When set to true
, creates opsItems for any problems detected on an application.public Boolean getOpsCenterEnabled()
When set to true
, creates opsItems for any problems detected on an application.
true
, creates opsItems for any problems detected on an application.public CreateApplicationRequest withOpsCenterEnabled(Boolean opsCenterEnabled)
When set to true
, creates opsItems for any problems detected on an application.
opsCenterEnabled
- When set to true
, creates opsItems for any problems detected on an application.public Boolean isOpsCenterEnabled()
When set to true
, creates opsItems for any problems detected on an application.
true
, creates opsItems for any problems detected on an application.public void setCWEMonitorEnabled(Boolean cWEMonitorEnabled)
Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as
instance terminated
, failed deployment
, and others.
cWEMonitorEnabled
- Indicates whether Application Insights can listen to CloudWatch events for the application resources, such
as instance terminated
, failed deployment
, and others.public Boolean getCWEMonitorEnabled()
Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as
instance terminated
, failed deployment
, and others.
instance terminated
, failed deployment
, and others.public CreateApplicationRequest withCWEMonitorEnabled(Boolean cWEMonitorEnabled)
Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as
instance terminated
, failed deployment
, and others.
cWEMonitorEnabled
- Indicates whether Application Insights can listen to CloudWatch events for the application resources, such
as instance terminated
, failed deployment
, and others.public Boolean isCWEMonitorEnabled()
Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as
instance terminated
, failed deployment
, and others.
instance terminated
, failed deployment
, and others.public void setOpsItemSNSTopicArn(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.
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.public String getOpsItemSNSTopicArn()
The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem.
public CreateApplicationRequest withOpsItemSNSTopicArn(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.
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.public List<Tag> getTags()
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.
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.public void setTags(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.
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.public CreateApplicationRequest withTags(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.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
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.public CreateApplicationRequest withTags(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.
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.public void setAutoConfigEnabled(Boolean autoConfigEnabled)
Indicates whether Application Insights automatically configures unmonitored resources in the resource group.
autoConfigEnabled
- Indicates whether Application Insights automatically configures unmonitored resources in the resource
group.public Boolean getAutoConfigEnabled()
Indicates whether Application Insights automatically configures unmonitored resources in the resource group.
public CreateApplicationRequest withAutoConfigEnabled(Boolean autoConfigEnabled)
Indicates whether Application Insights automatically configures unmonitored resources in the resource group.
autoConfigEnabled
- Indicates whether Application Insights automatically configures unmonitored resources in the resource
group.public Boolean isAutoConfigEnabled()
Indicates whether Application Insights automatically configures unmonitored resources in the resource group.
public void setAutoCreate(Boolean autoCreate)
Configures all of the resources in the resource group by applying the recommended configurations.
autoCreate
- Configures all of the resources in the resource group by applying the recommended configurations.public Boolean getAutoCreate()
Configures all of the resources in the resource group by applying the recommended configurations.
public CreateApplicationRequest withAutoCreate(Boolean autoCreate)
Configures all of the resources in the resource group by applying the recommended configurations.
autoCreate
- Configures all of the resources in the resource group by applying the recommended configurations.public Boolean isAutoCreate()
Configures all of the resources in the resource group by applying the recommended configurations.
public void setGroupingType(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
.
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
.GroupingType
public String getGroupingType()
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
.
ACCOUNT_BASED
.GroupingType
public CreateApplicationRequest withGroupingType(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
.
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
.GroupingType
public CreateApplicationRequest withGroupingType(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
.
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
.GroupingType
public void setAttachMissingPermission(Boolean attachMissingPermission)
If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.
attachMissingPermission
- If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are
missing.public Boolean getAttachMissingPermission()
If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.
public CreateApplicationRequest withAttachMissingPermission(Boolean attachMissingPermission)
If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.
attachMissingPermission
- If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are
missing.public Boolean isAttachMissingPermission()
If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.
public String toString()
toString
in class Object
Object.toString()
public CreateApplicationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()