public class ListV2LoggingLevelsRequest extends AmazonWebServiceRequest implements Serializable
Lists logging levels.
| Constructor and Description |
|---|
ListV2LoggingLevelsRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of results to return at one time.
|
String |
getNextToken()
The token used to get the next set of results, or null if there
are no additional results.
|
String |
getTargetType()
The type of resource for which you are configuring logging.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return at one time.
|
void |
setNextToken(String nextToken)
The token used to get the next set of results, or null if there
are no additional results.
|
void |
setTargetType(LogTargetType targetType)
The type of resource for which you are configuring logging.
|
void |
setTargetType(String targetType)
The type of resource for which you are configuring logging.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListV2LoggingLevelsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return at one time.
|
ListV2LoggingLevelsRequest |
withNextToken(String nextToken)
The token used to get the next set of results, or null if there
are no additional results.
|
ListV2LoggingLevelsRequest |
withTargetType(LogTargetType targetType)
The type of resource for which you are configuring logging.
|
ListV2LoggingLevelsRequest |
withTargetType(String targetType)
The type of resource for which you are configuring logging.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getTargetType()
The type of resource for which you are configuring logging. Must be
THING_Group.
Constraints:
Allowed Values: DEFAULT, THING_GROUP
The type of resource for which you are configuring logging. Must
be THING_Group.
LogTargetTypepublic void setTargetType(String targetType)
The type of resource for which you are configuring logging. Must be
THING_Group.
Constraints:
Allowed Values: DEFAULT, THING_GROUP
targetType -
The type of resource for which you are configuring logging.
Must be THING_Group.
LogTargetTypepublic ListV2LoggingLevelsRequest withTargetType(String targetType)
The type of resource for which you are configuring logging. Must be
THING_Group.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DEFAULT, THING_GROUP
targetType -
The type of resource for which you are configuring logging.
Must be THING_Group.
LogTargetTypepublic void setTargetType(LogTargetType targetType)
The type of resource for which you are configuring logging. Must be
THING_Group.
Constraints:
Allowed Values: DEFAULT, THING_GROUP
targetType -
The type of resource for which you are configuring logging.
Must be THING_Group.
LogTargetTypepublic ListV2LoggingLevelsRequest withTargetType(LogTargetType targetType)
The type of resource for which you are configuring logging. Must be
THING_Group.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DEFAULT, THING_GROUP
targetType -
The type of resource for which you are configuring logging.
Must be THING_Group.
LogTargetTypepublic String getNextToken()
The token used to get the next set of results, or null if there are no additional results.
The token used to get the next set of results, or null if there are no additional results.
public void setNextToken(String nextToken)
The token used to get the next set of results, or null if there are no additional results.
nextToken - The token used to get the next set of results, or null if there are no additional results.
public ListV2LoggingLevelsRequest withNextToken(String nextToken)
The token used to get the next set of results, or null if there are no additional results.
Returns a reference to this object so that method calls can be chained together.
nextToken - The token used to get the next set of results, or null if there are no additional results.
public Integer getMaxResults()
The maximum number of results to return at one time.
Constraints:
Range: 1 - 250
The maximum number of results to return at one time.
public void setMaxResults(Integer maxResults)
The maximum number of results to return at one time.
Constraints:
Range: 1 - 250
maxResults - The maximum number of results to return at one time.
public ListV2LoggingLevelsRequest withMaxResults(Integer maxResults)
The maximum number of results to return at one time.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 250
maxResults - The maximum number of results to return at one time.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.