Class CreateLogPatternRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.applicationinsights.model.ApplicationInsightsRequest
-
- software.amazon.awssdk.services.applicationinsights.model.CreateLogPatternRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateLogPatternRequest.Builder,CreateLogPatternRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateLogPatternRequest extends ApplicationInsightsRequest implements ToCopyableBuilder<CreateLogPatternRequest.Builder,CreateLogPatternRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateLogPatternRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateLogPatternRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringpattern()The log pattern.StringpatternName()The name of the log pattern.StringpatternSetName()The name of the log pattern set.Integerrank()Rank of the log pattern.StringresourceGroupName()The name of the resource group.List<SdkField<?>>sdkFields()static Class<? extends CreateLogPatternRequest.Builder>serializableBuilderClass()CreateLogPatternRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
resourceGroupName
public final String resourceGroupName()
The name of the resource group.
- Returns:
- The name of the resource group.
-
patternSetName
public final String patternSetName()
The name of the log pattern set.
- Returns:
- The name of the log pattern set.
-
patternName
public final String patternName()
The name of the log pattern.
- Returns:
- The name of the log pattern.
-
pattern
public final String pattern()
The log pattern. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported.
- Returns:
- The log pattern. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported.
-
rank
public final Integer rank()
Rank of the log pattern. Must be a value between
1and1,000,000. The patterns are sorted by rank, so we recommend that you set your highest priority patterns with the lowest rank. A pattern of rank1will be the first to get matched to a log line. A pattern of rank1,000,000will be last to get matched. When you configure custom log patterns from the console, aLowseverity pattern translates to a750,000rank. AMediumseverity pattern translates to a500,000rank. And aHighseverity pattern translates to a250,000rank. Rank values less than1or greater than1,000,000are reserved for AWS-provided patterns.- Returns:
- Rank of the log pattern. Must be a value between
1and1,000,000. The patterns are sorted by rank, so we recommend that you set your highest priority patterns with the lowest rank. A pattern of rank1will be the first to get matched to a log line. A pattern of rank1,000,000will be last to get matched. When you configure custom log patterns from the console, aLowseverity pattern translates to a750,000rank. AMediumseverity pattern translates to a500,000rank. And aHighseverity pattern translates to a250,000rank. Rank values less than1or greater than1,000,000are reserved for AWS-provided patterns.
-
toBuilder
public CreateLogPatternRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateLogPatternRequest.Builder,CreateLogPatternRequest>- Specified by:
toBuilderin classApplicationInsightsRequest
-
builder
public static CreateLogPatternRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateLogPatternRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-