com.pulumi.azurenative.security.outputs.AutomationActionWorkspaceResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.security.outputs;
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 AutomationActionWorkspaceResponse {
/**
* @return The type of the action that will be triggered by the Automation
* Expected value is 'Workspace'.
*
*/
private String actionType;
/**
* @return The fully qualified Log Analytics Workspace Azure Resource ID.
*
*/
private @Nullable String workspaceResourceId;
private AutomationActionWorkspaceResponse() {}
/**
* @return The type of the action that will be triggered by the Automation
* Expected value is 'Workspace'.
*
*/
public String actionType() {
return this.actionType;
}
/**
* @return The fully qualified Log Analytics Workspace Azure Resource ID.
*
*/
public Optional workspaceResourceId() {
return Optional.ofNullable(this.workspaceResourceId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AutomationActionWorkspaceResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String actionType;
private @Nullable String workspaceResourceId;
public Builder() {}
public Builder(AutomationActionWorkspaceResponse defaults) {
Objects.requireNonNull(defaults);
this.actionType = defaults.actionType;
this.workspaceResourceId = defaults.workspaceResourceId;
}
@CustomType.Setter
public Builder actionType(String actionType) {
if (actionType == null) {
throw new MissingRequiredPropertyException("AutomationActionWorkspaceResponse", "actionType");
}
this.actionType = actionType;
return this;
}
@CustomType.Setter
public Builder workspaceResourceId(@Nullable String workspaceResourceId) {
this.workspaceResourceId = workspaceResourceId;
return this;
}
public AutomationActionWorkspaceResponse build() {
final var _resultValue = new AutomationActionWorkspaceResponse();
_resultValue.actionType = actionType;
_resultValue.workspaceResourceId = workspaceResourceId;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy