@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CloudWatchLogsConfig extends Object implements Serializable, Cloneable, StructuredPojo
Information about Amazon 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 Amazon CloudWatch Logs.
|
String |
getStatus()
The current status of the Amazon CloudWatch Logs for a build project.
|
String |
getStreamName()
The prefix of the stream name of the Amazon 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 Amazon CloudWatch Logs.
|
void |
setStatus(String status)
The current status of the Amazon CloudWatch Logs for a build project.
|
void |
setStreamName(String streamName)
The prefix of the stream name of the Amazon CloudWatch Logs.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CloudWatchLogsConfig |
withGroupName(String groupName)
The group name of the Amazon CloudWatch Logs.
|
CloudWatchLogsConfig |
withStatus(LogsConfigStatusType status)
The current status of the Amazon CloudWatch Logs for a build project.
|
CloudWatchLogsConfig |
withStatus(String status)
The current status of the Amazon CloudWatch Logs for a build project.
|
CloudWatchLogsConfig |
withStreamName(String streamName)
The prefix of the stream name of the Amazon CloudWatch Logs.
|
public void setStatus(String status)
The current status of the Amazon CloudWatch Logs for a build project. Valid values are:
ENABLED: Amazon CloudWatch Logs are enabled for this build project.
DISABLED: Amazon CloudWatch Logs are not enabled for this build project.
status - The current status of the Amazon CloudWatch Logs for a build project. Valid values are:
ENABLED: Amazon CloudWatch Logs are enabled for this build project.
DISABLED: Amazon CloudWatch Logs are not enabled for this build project.
LogsConfigStatusTypepublic String getStatus()
The current status of the Amazon CloudWatch Logs for a build project. Valid values are:
ENABLED: Amazon CloudWatch Logs are enabled for this build project.
DISABLED: Amazon CloudWatch Logs are not enabled for this build project.
ENABLED: Amazon CloudWatch Logs are enabled for this build project.
DISABLED: Amazon CloudWatch Logs are not enabled for this build project.
LogsConfigStatusTypepublic CloudWatchLogsConfig withStatus(String status)
The current status of the Amazon CloudWatch Logs for a build project. Valid values are:
ENABLED: Amazon CloudWatch Logs are enabled for this build project.
DISABLED: Amazon CloudWatch Logs are not enabled for this build project.
status - The current status of the Amazon CloudWatch Logs for a build project. Valid values are:
ENABLED: Amazon CloudWatch Logs are enabled for this build project.
DISABLED: Amazon CloudWatch Logs are not enabled for this build project.
LogsConfigStatusTypepublic CloudWatchLogsConfig withStatus(LogsConfigStatusType status)
The current status of the Amazon CloudWatch Logs for a build project. Valid values are:
ENABLED: Amazon CloudWatch Logs are enabled for this build project.
DISABLED: Amazon CloudWatch Logs are not enabled for this build project.
status - The current status of the Amazon CloudWatch Logs for a build project. Valid values are:
ENABLED: Amazon CloudWatch Logs are enabled for this build project.
DISABLED: Amazon CloudWatch Logs are not enabled for this build project.
LogsConfigStatusTypepublic void setGroupName(String groupName)
The group name of the Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streams
groupName - The group name of the Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streamspublic String getGroupName()
The group name of the Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streams
public CloudWatchLogsConfig withGroupName(String groupName)
The group name of the Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streams
groupName - The group name of the Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streamspublic void setStreamName(String streamName)
The prefix of the stream name of the Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streams
streamName - The prefix of the stream name of the Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streamspublic String getStreamName()
The prefix of the stream name of the Amazon 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 Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streams
streamName - The prefix of the stream name of the Amazon CloudWatch Logs. For more information, see Working with Log Groups and Log Streamspublic String toString()
toString in class ObjectObject.toString()public CloudWatchLogsConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.