@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListLogPatternsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListLogPatternsResult() |
Modifier and Type | Method and Description |
---|---|
ListLogPatternsResult |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The AWS account ID for the resource group owner.
|
List<LogPattern> |
getLogPatterns()
The list of log patterns.
|
String |
getNextToken()
The token used to retrieve the next page of results.
|
String |
getResourceGroupName()
The name of the resource group.
|
int |
hashCode() |
void |
setAccountId(String accountId)
The AWS account ID for the resource group owner.
|
void |
setLogPatterns(Collection<LogPattern> logPatterns)
The list of log patterns.
|
void |
setNextToken(String nextToken)
The token used to retrieve the next page of results.
|
void |
setResourceGroupName(String resourceGroupName)
The name of the resource group.
|
String |
toString()
Returns a string representation of this object.
|
ListLogPatternsResult |
withAccountId(String accountId)
The AWS account ID for the resource group owner.
|
ListLogPatternsResult |
withLogPatterns(Collection<LogPattern> logPatterns)
The list of log patterns.
|
ListLogPatternsResult |
withLogPatterns(LogPattern... logPatterns)
The list of log patterns.
|
ListLogPatternsResult |
withNextToken(String nextToken)
The token used to retrieve the next page of results.
|
ListLogPatternsResult |
withResourceGroupName(String resourceGroupName)
The name of the resource group.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 ListLogPatternsResult withResourceGroupName(String resourceGroupName)
The name of the resource group.
resourceGroupName
- The name of the resource group.public void setAccountId(String accountId)
The AWS account ID for the resource group owner.
accountId
- The AWS account ID for the resource group owner.public String getAccountId()
The AWS account ID for the resource group owner.
public ListLogPatternsResult withAccountId(String accountId)
The AWS account ID for the resource group owner.
accountId
- The AWS account ID for the resource group owner.public List<LogPattern> getLogPatterns()
The list of log patterns.
public void setLogPatterns(Collection<LogPattern> logPatterns)
The list of log patterns.
logPatterns
- The list of log patterns.public ListLogPatternsResult withLogPatterns(LogPattern... logPatterns)
The list of log patterns.
NOTE: This method appends the values to the existing list (if any). Use
setLogPatterns(java.util.Collection)
or withLogPatterns(java.util.Collection)
if you want to
override the existing values.
logPatterns
- The list of log patterns.public ListLogPatternsResult withLogPatterns(Collection<LogPattern> logPatterns)
The list of log patterns.
logPatterns
- The list of log patterns.public void setNextToken(String nextToken)
The token used to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token used to retrieve the next page of results. This value is null
when there are no
more results to return.public String getNextToken()
The token used to retrieve the next page of results. This value is null
when there are no more
results to return.
null
when there are no
more results to return.public ListLogPatternsResult withNextToken(String nextToken)
The token used to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token used to retrieve the next page of results. This value is null
when there are no
more results to return.public String toString()
toString
in class Object
Object.toString()
public ListLogPatternsResult clone()