@Generated(value="software.amazon.awssdk:codegen") public final class CreateApplicationRequest extends ApplicationInsightsRequest implements ToCopyableBuilder<CreateApplicationRequest.Builder,CreateApplicationRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateApplicationRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
autoConfigEnabled()
Indicates whether Application Insights automatically configures unmonitored resources in the resource group.
|
Boolean |
autoCreate()
Configures all of the resources in the resource group by applying the recommended configurations.
|
static CreateApplicationRequest.Builder |
builder() |
Boolean |
cweMonitorEnabled()
Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as
instance terminated, failed deployment, and others. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
GroupingType |
groupingType()
Application Insights can create applications based on a resource group or on an account.
|
String |
groupingTypeAsString()
Application Insights can create applications based on a resource group or on an account.
|
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
Boolean |
opsCenterEnabled()
When set to
true, creates opsItems for any problems detected on an application. |
String |
opsItemSNSTopicArn()
The SNS topic provided to Application Insights that is associated to the created opsItem.
|
String |
resourceGroupName()
The name of the resource group.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateApplicationRequest.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
List of tags to add to the application.
|
CreateApplicationRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String resourceGroupName()
The name of the resource group.
public final Boolean opsCenterEnabled()
When set to true, creates opsItems for any problems detected on an application.
true, creates opsItems for any problems detected on an application.public final Boolean cweMonitorEnabled()
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 final 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.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
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 final Boolean autoConfigEnabled()
Indicates whether Application Insights automatically configures unmonitored resources in the resource group.
public final Boolean autoCreate()
Configures all of the resources in the resource group by applying the recommended configurations.
public final 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.
If the service returns an enum value that is not available in the current SDK version, groupingType will
return GroupingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
groupingTypeAsString().
ACCOUNT_BASED.GroupingTypepublic final String groupingTypeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, groupingType will
return GroupingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
groupingTypeAsString().
ACCOUNT_BASED.GroupingTypepublic CreateApplicationRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateApplicationRequest.Builder,CreateApplicationRequest>toBuilder in class ApplicationInsightsRequestpublic static CreateApplicationRequest.Builder builder()
public static Class<? extends CreateApplicationRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.