Class CloudWatchLogsConfig
- java.lang.Object
-
- software.amazon.awssdk.services.codebuild.model.CloudWatchLogsConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CloudWatchLogsConfig.Builder,CloudWatchLogsConfig>
@Generated("software.amazon.awssdk:codegen") public final class CloudWatchLogsConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CloudWatchLogsConfig.Builder,CloudWatchLogsConfig>
Information about CloudWatch Logs for a build project.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCloudWatchLogsConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CloudWatchLogsConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringgroupName()The group name of the logs in CloudWatch Logs.inthashCode()List<SdkField<?>>sdkFields()static Class<? extends CloudWatchLogsConfig.Builder>serializableBuilderClass()LogsConfigStatusTypestatus()The current status of the logs in CloudWatch Logs for a build project.StringstatusAsString()The current status of the logs in CloudWatch Logs for a build project.StringstreamName()The prefix of the stream name of the CloudWatch Logs.CloudWatchLogsConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
status
public final 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.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnLogsConfigStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- 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.
-
- See Also:
LogsConfigStatusType
-
-
statusAsString
public final String statusAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnLogsConfigStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- 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.
-
- See Also:
LogsConfigStatusType
-
-
groupName
public final String groupName()
The group name of the logs in CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
- Returns:
- The group name of the logs in CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
-
streamName
public final String streamName()
The prefix of the stream name of the CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
- Returns:
- The prefix of the stream name of the CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
-
toBuilder
public CloudWatchLogsConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CloudWatchLogsConfig.Builder,CloudWatchLogsConfig>
-
builder
public static CloudWatchLogsConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends CloudWatchLogsConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-