@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LogsConfig extends Object implements Serializable, Cloneable, StructuredPojo
Information about logs for a build project. These can be logs in Amazon CloudWatch Logs, built in a specified S3 bucket, or both.
Constructor and Description |
---|
LogsConfig() |
Modifier and Type | Method and Description |
---|---|
LogsConfig |
clone() |
boolean |
equals(Object obj) |
CloudWatchLogsConfig |
getCloudWatchLogs()
Information about Amazon CloudWatch Logs for a build project.
|
S3LogsConfig |
getS3Logs()
Information about logs built to an S3 bucket for a build project.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCloudWatchLogs(CloudWatchLogsConfig cloudWatchLogs)
Information about Amazon CloudWatch Logs for a build project.
|
void |
setS3Logs(S3LogsConfig s3Logs)
Information about logs built to an S3 bucket for a build project.
|
String |
toString()
Returns a string representation of this object.
|
LogsConfig |
withCloudWatchLogs(CloudWatchLogsConfig cloudWatchLogs)
Information about Amazon CloudWatch Logs for a build project.
|
LogsConfig |
withS3Logs(S3LogsConfig s3Logs)
Information about logs built to an S3 bucket for a build project.
|
public void setCloudWatchLogs(CloudWatchLogsConfig cloudWatchLogs)
Information about Amazon CloudWatch Logs for a build project. Amazon CloudWatch Logs are enabled by default.
cloudWatchLogs
- Information about Amazon CloudWatch Logs for a build project. Amazon CloudWatch Logs are enabled by
default.public CloudWatchLogsConfig getCloudWatchLogs()
Information about Amazon CloudWatch Logs for a build project. Amazon CloudWatch Logs are enabled by default.
public LogsConfig withCloudWatchLogs(CloudWatchLogsConfig cloudWatchLogs)
Information about Amazon CloudWatch Logs for a build project. Amazon CloudWatch Logs are enabled by default.
cloudWatchLogs
- Information about Amazon CloudWatch Logs for a build project. Amazon CloudWatch Logs are enabled by
default.public void setS3Logs(S3LogsConfig s3Logs)
Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default.
s3Logs
- Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default.public S3LogsConfig getS3Logs()
Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default.
public LogsConfig withS3Logs(S3LogsConfig s3Logs)
Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default.
s3Logs
- Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default.public String toString()
toString
in class Object
Object.toString()
public LogsConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.