@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateLogPatternRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateLogPatternRequest() |
Modifier and Type | Method and Description |
---|---|
CreateLogPatternRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getPattern()
The log pattern.
|
String |
getPatternName()
The name of the log pattern.
|
String |
getPatternSetName()
The name of the log pattern set.
|
Integer |
getRank()
Rank of the log pattern.
|
String |
getResourceGroupName()
The name of the resource group.
|
int |
hashCode() |
void |
setPattern(String pattern)
The log pattern.
|
void |
setPatternName(String patternName)
The name of the log pattern.
|
void |
setPatternSetName(String patternSetName)
The name of the log pattern set.
|
void |
setRank(Integer rank)
Rank of the log pattern.
|
void |
setResourceGroupName(String resourceGroupName)
The name of the resource group.
|
String |
toString()
Returns a string representation of this object.
|
CreateLogPatternRequest |
withPattern(String pattern)
The log pattern.
|
CreateLogPatternRequest |
withPatternName(String patternName)
The name of the log pattern.
|
CreateLogPatternRequest |
withPatternSetName(String patternSetName)
The name of the log pattern set.
|
CreateLogPatternRequest |
withRank(Integer rank)
Rank of the log pattern.
|
CreateLogPatternRequest |
withResourceGroupName(String resourceGroupName)
The name of the resource group.
|
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 CreateLogPatternRequest withResourceGroupName(String resourceGroupName)
The name of the resource group.
resourceGroupName
- The name of the resource group.public void setPatternSetName(String patternSetName)
The name of the log pattern set.
patternSetName
- The name of the log pattern set.public String getPatternSetName()
The name of the log pattern set.
public CreateLogPatternRequest withPatternSetName(String patternSetName)
The name of the log pattern set.
patternSetName
- The name of the log pattern set.public void setPatternName(String patternName)
The name of the log pattern.
patternName
- The name of the log pattern.public String getPatternName()
The name of the log pattern.
public CreateLogPatternRequest withPatternName(String patternName)
The name of the log pattern.
patternName
- The name of the log pattern.public void setPattern(String pattern)
The log pattern. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported.
pattern
- The log pattern. The pattern must be DFA compatible. Patterns that utilize forward lookahead or
backreference constructions are not supported.public String getPattern()
The log pattern. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported.
public CreateLogPatternRequest withPattern(String pattern)
The log pattern. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported.
pattern
- The log pattern. The pattern must be DFA compatible. Patterns that utilize forward lookahead or
backreference constructions are not supported.public void setRank(Integer rank)
Rank of the log pattern. Must be a value between 1
and 1,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
rank 1
will be the first to get matched to a log line. A pattern of rank 1,000,000
will
be last to get matched. When you configure custom log patterns from the console, a Low
severity
pattern translates to a 750,000
rank. A Medium
severity pattern translates to a
500,000
rank. And a High
severity pattern translates to a 250,000
rank.
Rank values less than 1
or greater than 1,000,000
are reserved for AWS-provided
patterns.
rank
- Rank of the log pattern. Must be a value between 1
and 1,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 rank 1
will be the first to get matched to a log line. A pattern of rank
1,000,000
will be last to get matched. When you configure custom log patterns from the
console, a Low
severity pattern translates to a 750,000
rank. A
Medium
severity pattern translates to a 500,000
rank. And a High
severity pattern translates to a 250,000
rank. Rank values less than 1
or
greater than 1,000,000
are reserved for AWS-provided patterns.public Integer getRank()
Rank of the log pattern. Must be a value between 1
and 1,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
rank 1
will be the first to get matched to a log line. A pattern of rank 1,000,000
will
be last to get matched. When you configure custom log patterns from the console, a Low
severity
pattern translates to a 750,000
rank. A Medium
severity pattern translates to a
500,000
rank. And a High
severity pattern translates to a 250,000
rank.
Rank values less than 1
or greater than 1,000,000
are reserved for AWS-provided
patterns.
1
and 1,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 rank 1
will be the first to get matched to a log line. A pattern of rank
1,000,000
will be last to get matched. When you configure custom log patterns from the
console, a Low
severity pattern translates to a 750,000
rank. A
Medium
severity pattern translates to a 500,000
rank. And a High
severity pattern translates to a 250,000
rank. Rank values less than 1
or
greater than 1,000,000
are reserved for AWS-provided patterns.public CreateLogPatternRequest withRank(Integer rank)
Rank of the log pattern. Must be a value between 1
and 1,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
rank 1
will be the first to get matched to a log line. A pattern of rank 1,000,000
will
be last to get matched. When you configure custom log patterns from the console, a Low
severity
pattern translates to a 750,000
rank. A Medium
severity pattern translates to a
500,000
rank. And a High
severity pattern translates to a 250,000
rank.
Rank values less than 1
or greater than 1,000,000
are reserved for AWS-provided
patterns.
rank
- Rank of the log pattern. Must be a value between 1
and 1,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 rank 1
will be the first to get matched to a log line. A pattern of rank
1,000,000
will be last to get matched. When you configure custom log patterns from the
console, a Low
severity pattern translates to a 750,000
rank. A
Medium
severity pattern translates to a 500,000
rank. And a High
severity pattern translates to a 250,000
rank. Rank values less than 1
or
greater than 1,000,000
are reserved for AWS-provided patterns.public String toString()
toString
in class Object
Object.toString()
public CreateLogPatternRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()