
com.pulumi.azurenative.securityinsights.outputs.PlaybookActionPropertiesResponse 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.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 PlaybookActionPropertiesResponse {
/**
* @return The resource id of the playbook resource.
*
*/
private String logicAppResourceId;
/**
* @return The tenant id of the playbook resource.
*
*/
private @Nullable String tenantId;
private PlaybookActionPropertiesResponse() {}
/**
* @return The resource id of the playbook resource.
*
*/
public String logicAppResourceId() {
return this.logicAppResourceId;
}
/**
* @return The tenant id of the playbook resource.
*
*/
public Optional tenantId() {
return Optional.ofNullable(this.tenantId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PlaybookActionPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String logicAppResourceId;
private @Nullable String tenantId;
public Builder() {}
public Builder(PlaybookActionPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.logicAppResourceId = defaults.logicAppResourceId;
this.tenantId = defaults.tenantId;
}
@CustomType.Setter
public Builder logicAppResourceId(String logicAppResourceId) {
if (logicAppResourceId == null) {
throw new MissingRequiredPropertyException("PlaybookActionPropertiesResponse", "logicAppResourceId");
}
this.logicAppResourceId = logicAppResourceId;
return this;
}
@CustomType.Setter
public Builder tenantId(@Nullable String tenantId) {
this.tenantId = tenantId;
return this;
}
public PlaybookActionPropertiesResponse build() {
final var _resultValue = new PlaybookActionPropertiesResponse();
_resultValue.logicAppResourceId = logicAppResourceId;
_resultValue.tenantId = tenantId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy