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

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

@CustomType
public final class GetSecurityProfileResult {
    /**
     * @return ARN of the Security Profile.
     * 
     */
    private String arn;
    /**
     * @return Description of the Security Profile.
     * 
     */
    private String description;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    private String instanceId;
    private String name;
    /**
     * @return The organization resource identifier for the security profile.
     * 
     */
    private String organizationResourceId;
    /**
     * @return List of permissions assigned to the security profile.
     * 
     */
    private List<String> permissions;
    private String securityProfileId;
    /**
     * @return Map of tags to assign to the Security Profile.
     * 
     */
    private Map<String,String> tags;

    private GetSecurityProfileResult() {}
    /**
     * @return ARN of the Security Profile.
     * 
     */
    public String arn() {
        return this.arn;
    }
    /**
     * @return Description of the Security Profile.
     * 
     */
    public String description() {
        return this.description;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    public String instanceId() {
        return this.instanceId;
    }
    public String name() {
        return this.name;
    }
    /**
     * @return The organization resource identifier for the security profile.
     * 
     */
    public String organizationResourceId() {
        return this.organizationResourceId;
    }
    /**
     * @return List of permissions assigned to the security profile.
     * 
     */
    public List<String> permissions() {
        return this.permissions;
    }
    public String securityProfileId() {
        return this.securityProfileId;
    }
    /**
     * @return Map of tags to assign to the Security Profile.
     * 
     */
    public Map<String,String> tags() {
        return this.tags;
    }

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

    public static Builder builder(GetSecurityProfileResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String arn;
        private String description;
        private String id;
        private String instanceId;
        private String name;
        private String organizationResourceId;
        private List<String> permissions;
        private String securityProfileId;
        private Map<String,String> tags;
        public Builder() {}
        public Builder(GetSecurityProfileResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.arn = defaults.arn;
    	      this.description = defaults.description;
    	      this.id = defaults.id;
    	      this.instanceId = defaults.instanceId;
    	      this.name = defaults.name;
    	      this.organizationResourceId = defaults.organizationResourceId;
    	      this.permissions = defaults.permissions;
    	      this.securityProfileId = defaults.securityProfileId;
    	      this.tags = defaults.tags;
        }

        @CustomType.Setter
        public Builder arn(String arn) {
            this.arn = Objects.requireNonNull(arn);
            return this;
        }
        @CustomType.Setter
        public Builder description(String description) {
            this.description = Objects.requireNonNull(description);
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            this.id = Objects.requireNonNull(id);
            return this;
        }
        @CustomType.Setter
        public Builder instanceId(String instanceId) {
            this.instanceId = Objects.requireNonNull(instanceId);
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            this.name = Objects.requireNonNull(name);
            return this;
        }
        @CustomType.Setter
        public Builder organizationResourceId(String organizationResourceId) {
            this.organizationResourceId = Objects.requireNonNull(organizationResourceId);
            return this;
        }
        @CustomType.Setter
        public Builder permissions(List<String> permissions) {
            this.permissions = Objects.requireNonNull(permissions);
            return this;
        }
        public Builder permissions(String... permissions) {
            return permissions(List.of(permissions));
        }
        @CustomType.Setter
        public Builder securityProfileId(String securityProfileId) {
            this.securityProfileId = Objects.requireNonNull(securityProfileId);
            return this;
        }
        @CustomType.Setter
        public Builder tags(Map<String,String> tags) {
            this.tags = Objects.requireNonNull(tags);
            return this;
        }
        public GetSecurityProfileResult build() {
            final var o = new GetSecurityProfileResult();
            o.arn = arn;
            o.description = description;
            o.id = id;
            o.instanceId = instanceId;
            o.name = name;
            o.organizationResourceId = organizationResourceId;
            o.permissions = permissions;
            o.securityProfileId = securityProfileId;
            o.tags = tags;
            return o;
        }
    }
}
