public class CreateLogGroupRequest extends AmazonWebServiceRequest implements Serializable
CreateLogGroup operation
.
Creates a new log group with the specified name. The name of the log group must be unique within a region for an AWS account. You can create up to 500 log groups per account.
You must use the following guidelines when naming a log group:
NOOP
Constructor and Description |
---|
CreateLogGroupRequest()
Default constructor for a new CreateLogGroupRequest object.
|
CreateLogGroupRequest(String logGroupName)
Constructs a new CreateLogGroupRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getLogGroupName()
Returns the value of the LogGroupName property for this object.
|
int |
hashCode() |
void |
setLogGroupName(String logGroupName)
Sets the value of the LogGroupName property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateLogGroupRequest |
withLogGroupName(String logGroupName)
Sets the value of the LogGroupName property for this object.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public CreateLogGroupRequest()
public CreateLogGroupRequest(String logGroupName)
logGroupName
- public String getLogGroupName()
Constraints:
Length: 1 - 512
Pattern: [\.\-_/#A-Za-z0-9]+
public void setLogGroupName(String logGroupName)
Constraints:
Length: 1 - 512
Pattern: [\.\-_/#A-Za-z0-9]+
logGroupName
- The new value for the LogGroupName property for this object.public CreateLogGroupRequest withLogGroupName(String logGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
Pattern: [\.\-_/#A-Za-z0-9]+
logGroupName
- The new value for the LogGroupName property for this object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.