public class ListV2LoggingLevelsRequest extends AmazonWebServiceRequest implements java.io.Serializable
Lists logging levels.
Constructor and Description |
---|
ListV2LoggingLevelsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getMaxResults()
The maximum number of results to return at one time.
|
java.lang.String |
getNextToken()
To retrieve the next set of results, the
nextToken value
from a previous response; otherwise null to receive the first set
of results. |
java.lang.String |
getTargetType()
The type of resource for which you are configuring logging.
|
int |
hashCode() |
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return at one time.
|
void |
setNextToken(java.lang.String nextToken)
To retrieve the next set of results, the
nextToken value
from a previous response; otherwise null to receive the first set
of results. |
void |
setTargetType(LogTargetType targetType)
The type of resource for which you are configuring logging.
|
void |
setTargetType(java.lang.String targetType)
The type of resource for which you are configuring logging.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListV2LoggingLevelsRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return at one time.
|
ListV2LoggingLevelsRequest |
withNextToken(java.lang.String nextToken)
To retrieve the next set of results, the
nextToken value
from a previous response; otherwise null to receive the first set
of results. |
ListV2LoggingLevelsRequest |
withTargetType(LogTargetType targetType)
The type of resource for which you are configuring logging.
|
ListV2LoggingLevelsRequest |
withTargetType(java.lang.String targetType)
The type of resource for which you are configuring logging.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.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
.
LogTargetType
public void setTargetType(java.lang.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
.
LogTargetType
public ListV2LoggingLevelsRequest withTargetType(java.lang.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
.
LogTargetType
public 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
.
LogTargetType
public 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
.
LogTargetType
public java.lang.String getNextToken()
To retrieve the next set of results, the nextToken
value
from a previous response; otherwise null to receive the first set
of results.
To retrieve the next set of results, the nextToken
value from a previous response; otherwise null to receive
the first set of results.
public void setNextToken(java.lang.String nextToken)
To retrieve the next set of results, the nextToken
value
from a previous response; otherwise null to receive the first set
of results.
nextToken
-
To retrieve the next set of results, the
nextToken
value from a previous response;
otherwise null to receive the first set of results.
public ListV2LoggingLevelsRequest withNextToken(java.lang.String nextToken)
To retrieve the next set of results, the nextToken
value
from a previous response; otherwise null to receive the first set
of results.
Returns a reference to this object so that method calls can be chained together.
nextToken
-
To retrieve the next set of results, the
nextToken
value from a previous response;
otherwise null to receive the first set of results.
public java.lang.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(java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.