Class SubscriptionFilter
- java.lang.Object
-
- com.amazonaws.services.logs.model.SubscriptionFilter
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class SubscriptionFilter extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SubscriptionFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubscriptionFilter
clone()
boolean
equals(Object obj)
Long
getCreationTime()
String
getDestinationArn()
String
getFilterName()
String
getFilterPattern()
String
getLogGroupName()
String
getRoleArn()
int
hashCode()
void
setCreationTime(Long creationTime)
void
setDestinationArn(String destinationArn)
void
setFilterName(String filterName)
void
setFilterPattern(String filterPattern)
void
setLogGroupName(String logGroupName)
void
setRoleArn(String roleArn)
String
toString()
Returns a string representation of this object; useful for testing and debugging.SubscriptionFilter
withCreationTime(Long creationTime)
SubscriptionFilter
withDestinationArn(String destinationArn)
SubscriptionFilter
withFilterName(String filterName)
SubscriptionFilter
withFilterPattern(String filterPattern)
SubscriptionFilter
withLogGroupName(String logGroupName)
SubscriptionFilter
withRoleArn(String roleArn)
-
-
-
Method Detail
-
setFilterName
public void setFilterName(String filterName)
- Parameters:
filterName
-
-
getFilterName
public String getFilterName()
- Returns:
-
withFilterName
public SubscriptionFilter withFilterName(String filterName)
- Parameters:
filterName
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLogGroupName
public void setLogGroupName(String logGroupName)
- Parameters:
logGroupName
-
-
getLogGroupName
public String getLogGroupName()
- Returns:
-
withLogGroupName
public SubscriptionFilter withLogGroupName(String logGroupName)
- Parameters:
logGroupName
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFilterPattern
public void setFilterPattern(String filterPattern)
- Parameters:
filterPattern
-
-
getFilterPattern
public String getFilterPattern()
- Returns:
-
withFilterPattern
public SubscriptionFilter withFilterPattern(String filterPattern)
- Parameters:
filterPattern
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDestinationArn
public void setDestinationArn(String destinationArn)
- Parameters:
destinationArn
-
-
getDestinationArn
public String getDestinationArn()
- Returns:
-
withDestinationArn
public SubscriptionFilter withDestinationArn(String destinationArn)
- Parameters:
destinationArn
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRoleArn
public void setRoleArn(String roleArn)
- Parameters:
roleArn
-
-
getRoleArn
public String getRoleArn()
- Returns:
-
withRoleArn
public SubscriptionFilter withRoleArn(String roleArn)
- Parameters:
roleArn
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreationTime
public void setCreationTime(Long creationTime)
- Parameters:
creationTime
-
-
getCreationTime
public Long getCreationTime()
- Returns:
-
withCreationTime
public SubscriptionFilter withCreationTime(Long creationTime)
- Parameters:
creationTime
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SubscriptionFilter clone()
-
-