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

com.pulumi.azurenative.securityinsights.outputs.GetActionResult 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.securityinsights.outputs;

import com.pulumi.azurenative.securityinsights.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetActionResult {
    /**
     * @return Etag of the action.
     * 
     */
    private @Nullable String etag;
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    private String id;
    /**
     * @return Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}.
     * 
     */
    private String logicAppResourceId;
    /**
     * @return The name of the resource
     * 
     */
    private String name;
    /**
     * @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    private String type;
    /**
     * @return The name of the logic app's workflow.
     * 
     */
    private @Nullable String workflowId;

    private GetActionResult() {}
    /**
     * @return Etag of the action.
     * 
     */
    public Optional etag() {
        return Optional.ofNullable(this.etag);
    }
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Logic App Resource Id, /subscriptions/{my-subscription}/resourceGroups/{my-resource-group}/providers/Microsoft.Logic/workflows/{my-workflow-id}.
     * 
     */
    public String logicAppResourceId() {
        return this.logicAppResourceId;
    }
    /**
     * @return The name of the resource
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    public String type() {
        return this.type;
    }
    /**
     * @return The name of the logic app's workflow.
     * 
     */
    public Optional workflowId() {
        return Optional.ofNullable(this.workflowId);
    }

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

    public static Builder builder(GetActionResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String etag;
        private String id;
        private String logicAppResourceId;
        private String name;
        private SystemDataResponse systemData;
        private String type;
        private @Nullable String workflowId;
        public Builder() {}
        public Builder(GetActionResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.etag = defaults.etag;
    	      this.id = defaults.id;
    	      this.logicAppResourceId = defaults.logicAppResourceId;
    	      this.name = defaults.name;
    	      this.systemData = defaults.systemData;
    	      this.type = defaults.type;
    	      this.workflowId = defaults.workflowId;
        }

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

            this.etag = etag;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetActionResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder logicAppResourceId(String logicAppResourceId) {
            if (logicAppResourceId == null) {
              throw new MissingRequiredPropertyException("GetActionResult", "logicAppResourceId");
            }
            this.logicAppResourceId = logicAppResourceId;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetActionResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetActionResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetActionResult", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder workflowId(@Nullable String workflowId) {

            this.workflowId = workflowId;
            return this;
        }
        public GetActionResult build() {
            final var _resultValue = new GetActionResult();
            _resultValue.etag = etag;
            _resultValue.id = id;
            _resultValue.logicAppResourceId = logicAppResourceId;
            _resultValue.name = name;
            _resultValue.systemData = systemData;
            _resultValue.type = type;
            _resultValue.workflowId = workflowId;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy