// *** 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.aws.cloudwatch.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.Map;
import java.util.Objects;

@CustomType
public final class GetLogGroupResult {
    /**
     * @return ARN of the Cloudwatch log group. Any `:*` suffix added by the API, denoting all CloudWatch Log Streams under the CloudWatch Log Group, is removed for greater compatibility with other AWS services that do not accept the suffix.
     * 
     */
    private String arn;
    /**
     * @return Creation time of the log group, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
     * 
     */
    private Integer creationTime;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return ARN of the KMS Key to use when encrypting log data.
     * 
     */
    private String kmsKeyId;
    private String name;
    /**
     * @return Number of days log events retained in the specified log group.
     * 
     */
    private Integer retentionInDays;
    /**
     * @return Map of tags to assign to the resource.
     * 
     */
    private Map<String,String> tags;

    private GetLogGroupResult() {}
    /**
     * @return ARN of the Cloudwatch log group. Any `:*` suffix added by the API, denoting all CloudWatch Log Streams under the CloudWatch Log Group, is removed for greater compatibility with other AWS services that do not accept the suffix.
     * 
     */
    public String arn() {
        return this.arn;
    }
    /**
     * @return Creation time of the log group, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
     * 
     */
    public Integer creationTime() {
        return this.creationTime;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return ARN of the KMS Key to use when encrypting log data.
     * 
     */
    public String kmsKeyId() {
        return this.kmsKeyId;
    }
    public String name() {
        return this.name;
    }
    /**
     * @return Number of days log events retained in the specified log group.
     * 
     */
    public Integer retentionInDays() {
        return this.retentionInDays;
    }
    /**
     * @return Map of tags to assign to the resource.
     * 
     */
    public Map<String,String> tags() {
        return this.tags;
    }

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

    public static Builder builder(GetLogGroupResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String arn;
        private Integer creationTime;
        private String id;
        private String kmsKeyId;
        private String name;
        private Integer retentionInDays;
        private Map<String,String> tags;
        public Builder() {}
        public Builder(GetLogGroupResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.arn = defaults.arn;
    	      this.creationTime = defaults.creationTime;
    	      this.id = defaults.id;
    	      this.kmsKeyId = defaults.kmsKeyId;
    	      this.name = defaults.name;
    	      this.retentionInDays = defaults.retentionInDays;
    	      this.tags = defaults.tags;
        }

        @CustomType.Setter
        public Builder arn(String arn) {
            this.arn = Objects.requireNonNull(arn);
            return this;
        }
        @CustomType.Setter
        public Builder creationTime(Integer creationTime) {
            this.creationTime = Objects.requireNonNull(creationTime);
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            this.id = Objects.requireNonNull(id);
            return this;
        }
        @CustomType.Setter
        public Builder kmsKeyId(String kmsKeyId) {
            this.kmsKeyId = Objects.requireNonNull(kmsKeyId);
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            this.name = Objects.requireNonNull(name);
            return this;
        }
        @CustomType.Setter
        public Builder retentionInDays(Integer retentionInDays) {
            this.retentionInDays = Objects.requireNonNull(retentionInDays);
            return this;
        }
        @CustomType.Setter
        public Builder tags(Map<String,String> tags) {
            this.tags = Objects.requireNonNull(tags);
            return this;
        }
        public GetLogGroupResult build() {
            final var o = new GetLogGroupResult();
            o.arn = arn;
            o.creationTime = creationTime;
            o.id = id;
            o.kmsKeyId = kmsKeyId;
            o.name = name;
            o.retentionInDays = retentionInDays;
            o.tags = tags;
            return o;
        }
    }
}
