@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 contains at 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 contains at 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 contains at 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 contains at 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 contains at 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 contains at 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 contains at 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 contains at 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 contains at 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 contains at 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 contains at many as 50 characters, and it cannot be empty.
pattern
- A regular expression that defines the log pattern. A log pattern can contains at many as 50 characters,
and it cannot be empty.public String getPattern()
A regular expression that defines the log pattern. A log pattern can contains at many as 50 characters, and it cannot be empty.
public LogPattern withPattern(String pattern)
A regular expression that defines the log pattern. A log pattern can contains at many as 50 characters, and it cannot be empty.
pattern
- A regular expression that defines the log pattern. A log pattern can contains at many as 50 characters,
and it cannot be empty.public void setRank(Integer rank)
Rank of the log pattern.
rank
- Rank of the log pattern.public Integer getRank()
Rank of the log pattern.
public LogPattern withRank(Integer rank)
Rank of the log pattern.
rank
- Rank of the log pattern.public String toString()
toString
in class Object
Object.toString()
public LogPattern clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.