@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LogPattern extends Object implements Serializable, Cloneable, StructuredPojo
 An object that defines the log patterns that belongs to a LogPatternSet.
 
| Constructor and Description | 
|---|
| LogPattern() | 
| Modifier and Type | Method and Description | 
|---|---|
| LogPattern | clone() | 
| boolean | equals(Object obj) | 
| String | getPattern()
 A regular expression that defines the log pattern. | 
| String | getPatternName()
 The name of the log pattern. | 
| String | getPatternSetName()
 The name of the log pattern. | 
| Integer | getRank()
 Rank of the log pattern. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setPattern(String pattern)
 A regular expression that defines the log pattern. | 
| void | setPatternName(String patternName)
 The name of the log pattern. | 
| void | setPatternSetName(String patternSetName)
 The name of the log pattern. | 
| void | setRank(Integer rank)
 Rank of the log pattern. | 
| String | toString()Returns a string representation of this object. | 
| LogPattern | withPattern(String pattern)
 A regular expression that defines the log pattern. | 
| LogPattern | withPatternName(String patternName)
 The name of the log pattern. | 
| LogPattern | withPatternSetName(String patternSetName)
 The name of the log pattern. | 
| LogPattern | withRank(Integer rank)
 Rank of the log pattern. | 
public void setPatternSetName(String patternSetName)
The name of the log pattern. A log pattern name can contain as many as 30 characters, and it cannot be empty. The characters can be Unicode letters, digits, or one of the following symbols: period, dash, underscore.
patternSetName - The name of the log pattern. A log pattern name can contain as many as 30 characters, and it cannot be
        empty. The characters can be Unicode letters, digits, or one of the following symbols: period, dash,
        underscore.public String getPatternSetName()
The name of the log pattern. A log pattern name can contain as many as 30 characters, and it cannot be empty. The characters can be Unicode letters, digits, or one of the following symbols: period, dash, underscore.
public LogPattern withPatternSetName(String patternSetName)
The name of the log pattern. A log pattern name can contain as many as 30 characters, and it cannot be empty. The characters can be Unicode letters, digits, or one of the following symbols: period, dash, underscore.
patternSetName - The name of the log pattern. A log pattern name can contain as many as 30 characters, and it cannot be
        empty. The characters can be Unicode letters, digits, or one of the following symbols: period, dash,
        underscore.public void setPatternName(String patternName)
The name of the log pattern. A log pattern name can contain as many as 50 characters, and it cannot be empty. The characters can be Unicode letters, digits, or one of the following symbols: period, dash, underscore.
patternName - The name of the log pattern. A log pattern name can contain as many as 50 characters, and it cannot be
        empty. The characters can be Unicode letters, digits, or one of the following symbols: period, dash,
        underscore.public String getPatternName()
The name of the log pattern. A log pattern name can contain as many as 50 characters, and it cannot be empty. The characters can be Unicode letters, digits, or one of the following symbols: period, dash, underscore.
public LogPattern withPatternName(String patternName)
The name of the log pattern. A log pattern name can contain as many as 50 characters, and it cannot be empty. The characters can be Unicode letters, digits, or one of the following symbols: period, dash, underscore.
patternName - The name of the log pattern. A log pattern name can contain as many as 50 characters, and it cannot be
        empty. The characters can be Unicode letters, digits, or one of the following symbols: period, dash,
        underscore.public void setPattern(String pattern)
A regular expression that defines the log pattern. A log pattern can contain as many as 50 characters, and it cannot be empty. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported.
pattern - A regular expression that defines the log pattern. A log pattern can contain as many as 50 characters, and
        it cannot be empty. The pattern must be DFA compatible. Patterns that utilize forward lookahead or
        backreference constructions are not supported.public String getPattern()
A regular expression that defines the log pattern. A log pattern can contain as many as 50 characters, and it cannot be empty. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported.
public LogPattern withPattern(String pattern)
A regular expression that defines the log pattern. A log pattern can contain as many as 50 characters, and it cannot be empty. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported.
pattern - A regular expression that defines the log pattern. A log pattern can contain as many as 50 characters, and
        it cannot be empty. 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 LogPattern 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 ObjectObject.toString()public LogPattern clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.