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

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

@CustomType
public final class GetDetectorResult {
    /**
     * @return The frequency of notifications sent about subsequent finding occurrences.
     * 
     */
    private String findingPublishingFrequency;
    private String id;
    /**
     * @return Service-linked role that grants GuardDuty access to the resources in the AWS account.
     * 
     */
    private String serviceRoleArn;
    /**
     * @return Current status of the detector.
     * 
     */
    private String status;

    private GetDetectorResult() {}
    /**
     * @return The frequency of notifications sent about subsequent finding occurrences.
     * 
     */
    public String findingPublishingFrequency() {
        return this.findingPublishingFrequency;
    }
    public String id() {
        return this.id;
    }
    /**
     * @return Service-linked role that grants GuardDuty access to the resources in the AWS account.
     * 
     */
    public String serviceRoleArn() {
        return this.serviceRoleArn;
    }
    /**
     * @return Current status of the detector.
     * 
     */
    public String status() {
        return this.status;
    }

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

    public static Builder builder(GetDetectorResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String findingPublishingFrequency;
        private String id;
        private String serviceRoleArn;
        private String status;
        public Builder() {}
        public Builder(GetDetectorResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.findingPublishingFrequency = defaults.findingPublishingFrequency;
    	      this.id = defaults.id;
    	      this.serviceRoleArn = defaults.serviceRoleArn;
    	      this.status = defaults.status;
        }

        @CustomType.Setter
        public Builder findingPublishingFrequency(String findingPublishingFrequency) {
            this.findingPublishingFrequency = Objects.requireNonNull(findingPublishingFrequency);
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            this.id = Objects.requireNonNull(id);
            return this;
        }
        @CustomType.Setter
        public Builder serviceRoleArn(String serviceRoleArn) {
            this.serviceRoleArn = Objects.requireNonNull(serviceRoleArn);
            return this;
        }
        @CustomType.Setter
        public Builder status(String status) {
            this.status = Objects.requireNonNull(status);
            return this;
        }
        public GetDetectorResult build() {
            final var o = new GetDetectorResult();
            o.findingPublishingFrequency = findingPublishingFrequency;
            o.id = id;
            o.serviceRoleArn = serviceRoleArn;
            o.status = status;
            return o;
        }
    }
}
