@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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, 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, withSdkRequestTimeout
public void setLogGroupName(String logGroupName)
The name of the log group to search.
You must include either logGroupIdentifier
or logGroupName
, but not both.
logGroupName
- The name of the log group to search.
You must include either logGroupIdentifier
or logGroupName
, but not both.
public String getLogGroupName()
The name of the log group to search.
You must include either logGroupIdentifier
or logGroupName
, but not both.
You must include either logGroupIdentifier
or logGroupName
, but not both.
public GetLogGroupFieldsRequest withLogGroupName(String logGroupName)
The name of the log group to search.
You must include either logGroupIdentifier
or logGroupName
, but not both.
logGroupName
- The name of the log group to search.
You must include either logGroupIdentifier
or logGroupName
, but not both.
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.
You must include either logGroupIdentifier
or logGroupName
, but not both.
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.
You must include either logGroupIdentifier
or logGroupName
, but not both.
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.
You must include either logGroupIdentifier
or logGroupName
, but not both.
You must include either logGroupIdentifier
or logGroupName
, but not both.
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.
You must include either logGroupIdentifier
or logGroupName
, but not both.
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.
You must include either logGroupIdentifier
or logGroupName
, but not both.
public String toString()
toString
in class Object
Object.toString()
public GetLogGroupFieldsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()