@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetLogGroupFieldsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetLogGroupFieldsRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetLogGroupFieldsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getLogGroupIdentifier()
Specify either the name or ARN of the log group to view.
|
String |
getLogGroupName()
The name of the log group to search.
|
Long |
getTime()
The time to set as the center of the query.
|
int |
hashCode() |
void |
setLogGroupIdentifier(String logGroupIdentifier)
Specify either the name or ARN of the log group to view.
|
void |
setLogGroupName(String logGroupName)
The name of the log group to search.
|
void |
setTime(Long time)
The time to set as the center of the query.
|
String |
toString()
Returns a string representation of this object.
|
GetLogGroupFieldsRequest |
withLogGroupIdentifier(String logGroupIdentifier)
Specify either the name or ARN of the log group to view.
|
GetLogGroupFieldsRequest |
withLogGroupName(String logGroupName)
The name of the log group to search.
|
GetLogGroupFieldsRequest |
withTime(Long time)
The time to set as the center of the query.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setLogGroupName(String logGroupName)
The name of the log group to search.
If you specify values for both logGroupName and logGroupIdentifier, the action returns
an InvalidParameterException error.
logGroupName - The name of the log group to search.
If you specify values for both logGroupName and logGroupIdentifier, the action
returns an InvalidParameterException error.
public String getLogGroupName()
The name of the log group to search.
If you specify values for both logGroupName and logGroupIdentifier, the action returns
an InvalidParameterException error.
If you specify values for both logGroupName and logGroupIdentifier, the action
returns an InvalidParameterException error.
public GetLogGroupFieldsRequest withLogGroupName(String logGroupName)
The name of the log group to search.
If you specify values for both logGroupName and logGroupIdentifier, the action returns
an InvalidParameterException error.
logGroupName - The name of the log group to search.
If you specify values for both logGroupName and logGroupIdentifier, the action
returns an InvalidParameterException error.
public void setTime(Long time)
The time to set as the center of the query. If you specify time, the 15 minutes before this time are
queries. If you omit time, the 8 minutes before and 8 minutes after this time are searched.
The time value is specified as epoch time, which is the number of seconds since
January 1, 1970, 00:00:00 UTC.
time - The time to set as the center of the query. If you specify time, the 15 minutes before this
time are queries. If you omit time, the 8 minutes before and 8 minutes after this time are
searched.
The time value is specified as epoch time, which is the number of seconds since
January 1, 1970, 00:00:00 UTC.
public Long getTime()
The time to set as the center of the query. If you specify time, the 15 minutes before this time are
queries. If you omit time, the 8 minutes before and 8 minutes after this time are searched.
The time value is specified as epoch time, which is the number of seconds since
January 1, 1970, 00:00:00 UTC.
time, the 15 minutes before this
time are queries. If you omit time, the 8 minutes before and 8 minutes after this time are
searched.
The time value is specified as epoch time, which is the number of seconds since
January 1, 1970, 00:00:00 UTC.
public GetLogGroupFieldsRequest withTime(Long time)
The time to set as the center of the query. If you specify time, the 15 minutes before this time are
queries. If you omit time, the 8 minutes before and 8 minutes after this time are searched.
The time value is specified as epoch time, which is the number of seconds since
January 1, 1970, 00:00:00 UTC.
time - The time to set as the center of the query. If you specify time, the 15 minutes before this
time are queries. If you omit time, the 8 minutes before and 8 minutes after this time are
searched.
The time value is specified as epoch time, which is the number of seconds since
January 1, 1970, 00:00:00 UTC.
public void setLogGroupIdentifier(String logGroupIdentifier)
Specify either the name or ARN of the log group to view. If the log group is in a source account and you are using a monitoring account, you must specify the ARN.
If you specify values for both logGroupName and logGroupIdentifier, the action returns
an InvalidParameterException error.
logGroupIdentifier - Specify either the name or ARN of the log group to view. If the log group is in a source account and you
are using a monitoring account, you must specify the ARN.
If you specify values for both logGroupName and logGroupIdentifier, the action
returns an InvalidParameterException error.
public String getLogGroupIdentifier()
Specify either the name or ARN of the log group to view. If the log group is in a source account and you are using a monitoring account, you must specify the ARN.
If you specify values for both logGroupName and logGroupIdentifier, the action returns
an InvalidParameterException error.
If you specify values for both logGroupName and logGroupIdentifier, the action
returns an InvalidParameterException error.
public GetLogGroupFieldsRequest withLogGroupIdentifier(String logGroupIdentifier)
Specify either the name or ARN of the log group to view. If the log group is in a source account and you are using a monitoring account, you must specify the ARN.
If you specify values for both logGroupName and logGroupIdentifier, the action returns
an InvalidParameterException error.
logGroupIdentifier - Specify either the name or ARN of the log group to view. If the log group is in a source account and you
are using a monitoring account, you must specify the ARN.
If you specify values for both logGroupName and logGroupIdentifier, the action
returns an InvalidParameterException error.
public String toString()
toString in class ObjectObject.toString()public GetLogGroupFieldsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2023. All rights reserved.