All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.awsconnector.outputs.CloudWatchLogsConfigResponse Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.awsconnector.outputs;

import com.pulumi.azurenative.awsconnector.outputs.LogsConfigStatusTypeEnumValueResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class CloudWatchLogsConfigResponse {
    /**
     * @return <p> The group name of the logs in CloudWatch Logs. For more information, see <a href='https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html'>Working with Log Groups and Log Streams</a>. </p>
     * 
     */
    private @Nullable String groupName;
    /**
     * @return <p>The current status of the logs in CloudWatch Logs for a build project. Valid values are:</p> <ul> <li> <p> <code>ENABLED</code>: CloudWatch Logs are enabled for this build project.</p> </li> <li> <p> <code>DISABLED</code>: CloudWatch Logs are not enabled for this build project.</p> </li> </ul>
     * 
     */
    private @Nullable LogsConfigStatusTypeEnumValueResponse status;
    /**
     * @return <p> The prefix of the stream name of the CloudWatch Logs. For more information, see <a href='https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html'>Working with Log Groups and Log Streams</a>. </p>
     * 
     */
    private @Nullable String streamName;

    private CloudWatchLogsConfigResponse() {}
    /**
     * @return <p> The group name of the logs in CloudWatch Logs. For more information, see <a href='https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html'>Working with Log Groups and Log Streams</a>. </p>
     * 
     */
    public Optional groupName() {
        return Optional.ofNullable(this.groupName);
    }
    /**
     * @return <p>The current status of the logs in CloudWatch Logs for a build project. Valid values are:</p> <ul> <li> <p> <code>ENABLED</code>: CloudWatch Logs are enabled for this build project.</p> </li> <li> <p> <code>DISABLED</code>: CloudWatch Logs are not enabled for this build project.</p> </li> </ul>
     * 
     */
    public Optional status() {
        return Optional.ofNullable(this.status);
    }
    /**
     * @return <p> The prefix of the stream name of the CloudWatch Logs. For more information, see <a href='https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html'>Working with Log Groups and Log Streams</a>. </p>
     * 
     */
    public Optional streamName() {
        return Optional.ofNullable(this.streamName);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(CloudWatchLogsConfigResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String groupName;
        private @Nullable LogsConfigStatusTypeEnumValueResponse status;
        private @Nullable String streamName;
        public Builder() {}
        public Builder(CloudWatchLogsConfigResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.groupName = defaults.groupName;
    	      this.status = defaults.status;
    	      this.streamName = defaults.streamName;
        }

        @CustomType.Setter
        public Builder groupName(@Nullable String groupName) {

            this.groupName = groupName;
            return this;
        }
        @CustomType.Setter
        public Builder status(@Nullable LogsConfigStatusTypeEnumValueResponse status) {

            this.status = status;
            return this;
        }
        @CustomType.Setter
        public Builder streamName(@Nullable String streamName) {

            this.streamName = streamName;
            return this;
        }
        public CloudWatchLogsConfigResponse build() {
            final var _resultValue = new CloudWatchLogsConfigResponse();
            _resultValue.groupName = groupName;
            _resultValue.status = status;
            _resultValue.streamName = streamName;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy