@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListV2LoggingLevelsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListV2LoggingLevelsResult() |
Modifier and Type | Method and Description |
---|---|
ListV2LoggingLevelsResult |
clone() |
boolean |
equals(Object obj) |
List<LogTargetConfiguration> |
getLogTargetConfigurations()
The logging configuration for a target.
|
String |
getNextToken()
The token to use to get the next set of results, or null if there are no additional results.
|
int |
hashCode() |
void |
setLogTargetConfigurations(Collection<LogTargetConfiguration> logTargetConfigurations)
The logging configuration for a target.
|
void |
setNextToken(String nextToken)
The token to use to get the next set of results, or null if there are no additional results.
|
String |
toString()
Returns a string representation of this object.
|
ListV2LoggingLevelsResult |
withLogTargetConfigurations(Collection<LogTargetConfiguration> logTargetConfigurations)
The logging configuration for a target.
|
ListV2LoggingLevelsResult |
withLogTargetConfigurations(LogTargetConfiguration... logTargetConfigurations)
The logging configuration for a target.
|
ListV2LoggingLevelsResult |
withNextToken(String nextToken)
The token to use to get the next set of results, or null if there are no additional results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<LogTargetConfiguration> getLogTargetConfigurations()
The logging configuration for a target.
public void setLogTargetConfigurations(Collection<LogTargetConfiguration> logTargetConfigurations)
The logging configuration for a target.
logTargetConfigurations
- The logging configuration for a target.public ListV2LoggingLevelsResult withLogTargetConfigurations(LogTargetConfiguration... logTargetConfigurations)
The logging configuration for a target.
NOTE: This method appends the values to the existing list (if any). Use
setLogTargetConfigurations(java.util.Collection)
or
withLogTargetConfigurations(java.util.Collection)
if you want to override the existing values.
logTargetConfigurations
- The logging configuration for a target.public ListV2LoggingLevelsResult withLogTargetConfigurations(Collection<LogTargetConfiguration> logTargetConfigurations)
The logging configuration for a target.
logTargetConfigurations
- The logging configuration for a target.public void setNextToken(String nextToken)
The token to use to get the next set of results, or null if there are no additional results.
nextToken
- The token to use to get the next set of results, or null if there are no additional results.public String getNextToken()
The token to use to get the next set of results, or null if there are no additional results.
public ListV2LoggingLevelsResult withNextToken(String nextToken)
The token to use to get the next set of results, or null if there are no additional results.
nextToken
- The token to use to get the next set of results, or null if there are no additional results.public String toString()
toString
in class Object
Object.toString()
public ListV2LoggingLevelsResult clone()