@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudWatchLogsConfig extends Object implements Serializable, Cloneable, StructuredPojo
Information about CloudWatch Logs for a build project.
Constructor and Description |
---|
CloudWatchLogsConfig() |
Modifier and Type | Method and Description |
---|---|
CloudWatchLogsConfig |
clone() |
boolean |
equals(Object obj) |
String |
getGroupName()
The group name of the logs in CloudWatch Logs.
|
String |
getStatus()
The current status of the logs in CloudWatch Logs for a build project.
|
String |
getStreamName()
The prefix of the stream name of the CloudWatch Logs.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGroupName(String groupName)
The group name of the logs in CloudWatch Logs.
|
void |
setStatus(String status)
The current status of the logs in CloudWatch Logs for a build project.
|
void |
setStreamName(String streamName)
The prefix of the stream name of the CloudWatch Logs.
|
String |
toString()
Returns a string representation of this object.
|
CloudWatchLogsConfig |
withGroupName(String groupName)
The group name of the logs in CloudWatch Logs.
|
CloudWatchLogsConfig |
withStatus(LogsConfigStatusType status)
The current status of the logs in CloudWatch Logs for a build project.
|
CloudWatchLogsConfig |
withStatus(String status)
The current status of the logs in CloudWatch Logs for a build project.
|
CloudWatchLogsConfig |
withStreamName(String streamName)
The prefix of the stream name of the CloudWatch Logs.
|
public void setStatus(String status)
The current status of the logs in CloudWatch Logs for a build project. Valid values are:
ENABLED
: CloudWatch Logs are enabled for this build project.
DISABLED
: CloudWatch Logs are not enabled for this build project.
status
- The current status of the logs in CloudWatch Logs for a build project. Valid values are:
ENABLED
: CloudWatch Logs are enabled for this build project.
DISABLED
: CloudWatch Logs are not enabled for this build project.
LogsConfigStatusType
public String getStatus()
The current status of the logs in CloudWatch Logs for a build project. Valid values are:
ENABLED
: CloudWatch Logs are enabled for this build project.
DISABLED
: CloudWatch Logs are not enabled for this build project.
ENABLED
: CloudWatch Logs are enabled for this build project.
DISABLED
: CloudWatch Logs are not enabled for this build project.
LogsConfigStatusType
public CloudWatchLogsConfig withStatus(String status)
The current status of the logs in CloudWatch Logs for a build project. Valid values are:
ENABLED
: CloudWatch Logs are enabled for this build project.
DISABLED
: CloudWatch Logs are not enabled for this build project.
status
- The current status of the logs in CloudWatch Logs for a build project. Valid values are:
ENABLED
: CloudWatch Logs are enabled for this build project.
DISABLED
: CloudWatch Logs are not enabled for this build project.
LogsConfigStatusType
public CloudWatchLogsConfig withStatus(LogsConfigStatusType status)
The current status of the logs in CloudWatch Logs for a build project. Valid values are:
ENABLED
: CloudWatch Logs are enabled for this build project.
DISABLED
: CloudWatch Logs are not enabled for this build project.
status
- The current status of the logs in CloudWatch Logs for a build project. Valid values are:
ENABLED
: CloudWatch Logs are enabled for this build project.
DISABLED
: CloudWatch Logs are not enabled for this build project.
LogsConfigStatusType
public void setGroupName(String groupName)
The group name of the logs in CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
groupName
- The group name of the logs in CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.public String getGroupName()
The group name of the logs in CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
public CloudWatchLogsConfig withGroupName(String groupName)
The group name of the logs in CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
groupName
- The group name of the logs in CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.public void setStreamName(String streamName)
The prefix of the stream name of the CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
streamName
- The prefix of the stream name of the CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.public String getStreamName()
The prefix of the stream name of the CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
public CloudWatchLogsConfig withStreamName(String streamName)
The prefix of the stream name of the CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
streamName
- The prefix of the stream name of the CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.public String toString()
toString
in class Object
Object.toString()
public CloudWatchLogsConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.