public class SubscriptionFilter extends Object implements Serializable, Cloneable
Constructor and Description |
---|
SubscriptionFilter() |
Modifier and Type | Method and Description |
---|---|
SubscriptionFilter |
clone() |
boolean |
equals(Object obj) |
Long |
getCreationTime()
A point in time expressed as the number of milliseconds since Jan 1,
1970 00:00:00 UTC.
|
String |
getDestinationArn()
Returns the value of the DestinationArn property for this object.
|
String |
getFilterName()
A name for a metric or subscription filter.
|
String |
getFilterPattern()
A symbolic description of how Amazon CloudWatch Logs should interpret
the data in each log event.
|
String |
getLogGroupName()
Returns the value of the LogGroupName property for this object.
|
String |
getRoleArn()
Returns the value of the RoleArn property for this object.
|
int |
hashCode() |
void |
setCreationTime(Long creationTime)
A point in time expressed as the number of milliseconds since Jan 1,
1970 00:00:00 UTC.
|
void |
setDestinationArn(String destinationArn)
Sets the value of the DestinationArn property for this object.
|
void |
setFilterName(String filterName)
A name for a metric or subscription filter.
|
void |
setFilterPattern(String filterPattern)
A symbolic description of how Amazon CloudWatch Logs should interpret
the data in each log event.
|
void |
setLogGroupName(String logGroupName)
Sets the value of the LogGroupName property for this object.
|
void |
setRoleArn(String roleArn)
Sets the value of the RoleArn property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SubscriptionFilter |
withCreationTime(Long creationTime)
A point in time expressed as the number of milliseconds since Jan 1,
1970 00:00:00 UTC.
|
SubscriptionFilter |
withDestinationArn(String destinationArn)
Sets the value of the DestinationArn property for this object.
|
SubscriptionFilter |
withFilterName(String filterName)
A name for a metric or subscription filter.
|
SubscriptionFilter |
withFilterPattern(String filterPattern)
A symbolic description of how Amazon CloudWatch Logs should interpret
the data in each log event.
|
SubscriptionFilter |
withLogGroupName(String logGroupName)
Sets the value of the LogGroupName property for this object.
|
SubscriptionFilter |
withRoleArn(String roleArn)
Sets the value of the RoleArn property for this object.
|
public String getFilterName()
Constraints:
Length: 1 - 512
Pattern: [^:*]*
public void setFilterName(String filterName)
Constraints:
Length: 1 - 512
Pattern: [^:*]*
filterName
- A name for a metric or subscription filter.public SubscriptionFilter withFilterName(String filterName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
Pattern: [^:*]*
filterName
- A name for a metric or subscription filter.public String getLogGroupName()
Constraints:
Length: 1 - 512
Pattern: [\.\-_/#A-Za-z0-9]+
public void setLogGroupName(String logGroupName)
Constraints:
Length: 1 - 512
Pattern: [\.\-_/#A-Za-z0-9]+
logGroupName
- The new value for the LogGroupName property for this object.public SubscriptionFilter withLogGroupName(String logGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
Pattern: [\.\-_/#A-Za-z0-9]+
logGroupName
- The new value for the LogGroupName property for this object.public String getFilterPattern()
Constraints:
Length: 0 - 512
public void setFilterPattern(String filterPattern)
Constraints:
Length: 0 - 512
filterPattern
- A symbolic description of how Amazon CloudWatch Logs should interpret
the data in each log event. For example, a log event may contain
timestamps, IP addresses, strings, and so on. You use the filter
pattern to specify what to look for in the log event message.public SubscriptionFilter withFilterPattern(String filterPattern)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 512
filterPattern
- A symbolic description of how Amazon CloudWatch Logs should interpret
the data in each log event. For example, a log event may contain
timestamps, IP addresses, strings, and so on. You use the filter
pattern to specify what to look for in the log event message.public String getDestinationArn()
Constraints:
Length: 1 -
public void setDestinationArn(String destinationArn)
Constraints:
Length: 1 -
destinationArn
- The new value for the DestinationArn property for this object.public SubscriptionFilter withDestinationArn(String destinationArn)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
destinationArn
- The new value for the DestinationArn property for this object.public String getRoleArn()
Constraints:
Length: 1 -
public void setRoleArn(String roleArn)
Constraints:
Length: 1 -
roleArn
- The new value for the RoleArn property for this object.public SubscriptionFilter withRoleArn(String roleArn)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
roleArn
- The new value for the RoleArn property for this object.public Long getCreationTime()
Constraints:
Range: 0 -
public void setCreationTime(Long creationTime)
Constraints:
Range: 0 -
creationTime
- A point in time expressed as the number of milliseconds since Jan 1,
1970 00:00:00 UTC.public SubscriptionFilter withCreationTime(Long creationTime)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
creationTime
- A point in time expressed as the number of milliseconds since Jan 1,
1970 00:00:00 UTC.public String toString()
toString
in class Object
Object.toString()
public SubscriptionFilter clone()
Copyright © 2015. All rights reserved.