com.pulumi.azurenative.scheduler.outputs.JobActionResponse 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.scheduler.outputs;
import com.pulumi.azurenative.scheduler.outputs.HttpRequestResponse;
import com.pulumi.azurenative.scheduler.outputs.JobErrorActionResponse;
import com.pulumi.azurenative.scheduler.outputs.RetryPolicyResponse;
import com.pulumi.azurenative.scheduler.outputs.ServiceBusQueueMessageResponse;
import com.pulumi.azurenative.scheduler.outputs.ServiceBusTopicMessageResponse;
import com.pulumi.azurenative.scheduler.outputs.StorageQueueMessageResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class JobActionResponse {
/**
* @return Gets or sets the error action.
*
*/
private @Nullable JobErrorActionResponse errorAction;
/**
* @return Gets or sets the storage queue message.
*
*/
private @Nullable StorageQueueMessageResponse queueMessage;
/**
* @return Gets or sets the http requests.
*
*/
private @Nullable HttpRequestResponse request;
/**
* @return Gets or sets the retry policy.
*
*/
private @Nullable RetryPolicyResponse retryPolicy;
/**
* @return Gets or sets the service bus queue message.
*
*/
private @Nullable ServiceBusQueueMessageResponse serviceBusQueueMessage;
/**
* @return Gets or sets the service bus topic message.
*
*/
private @Nullable ServiceBusTopicMessageResponse serviceBusTopicMessage;
/**
* @return Gets or sets the job action type.
*
*/
private @Nullable String type;
private JobActionResponse() {}
/**
* @return Gets or sets the error action.
*
*/
public Optional errorAction() {
return Optional.ofNullable(this.errorAction);
}
/**
* @return Gets or sets the storage queue message.
*
*/
public Optional queueMessage() {
return Optional.ofNullable(this.queueMessage);
}
/**
* @return Gets or sets the http requests.
*
*/
public Optional request() {
return Optional.ofNullable(this.request);
}
/**
* @return Gets or sets the retry policy.
*
*/
public Optional retryPolicy() {
return Optional.ofNullable(this.retryPolicy);
}
/**
* @return Gets or sets the service bus queue message.
*
*/
public Optional serviceBusQueueMessage() {
return Optional.ofNullable(this.serviceBusQueueMessage);
}
/**
* @return Gets or sets the service bus topic message.
*
*/
public Optional serviceBusTopicMessage() {
return Optional.ofNullable(this.serviceBusTopicMessage);
}
/**
* @return Gets or sets the job action type.
*
*/
public Optional type() {
return Optional.ofNullable(this.type);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(JobActionResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable JobErrorActionResponse errorAction;
private @Nullable StorageQueueMessageResponse queueMessage;
private @Nullable HttpRequestResponse request;
private @Nullable RetryPolicyResponse retryPolicy;
private @Nullable ServiceBusQueueMessageResponse serviceBusQueueMessage;
private @Nullable ServiceBusTopicMessageResponse serviceBusTopicMessage;
private @Nullable String type;
public Builder() {}
public Builder(JobActionResponse defaults) {
Objects.requireNonNull(defaults);
this.errorAction = defaults.errorAction;
this.queueMessage = defaults.queueMessage;
this.request = defaults.request;
this.retryPolicy = defaults.retryPolicy;
this.serviceBusQueueMessage = defaults.serviceBusQueueMessage;
this.serviceBusTopicMessage = defaults.serviceBusTopicMessage;
this.type = defaults.type;
}
@CustomType.Setter
public Builder errorAction(@Nullable JobErrorActionResponse errorAction) {
this.errorAction = errorAction;
return this;
}
@CustomType.Setter
public Builder queueMessage(@Nullable StorageQueueMessageResponse queueMessage) {
this.queueMessage = queueMessage;
return this;
}
@CustomType.Setter
public Builder request(@Nullable HttpRequestResponse request) {
this.request = request;
return this;
}
@CustomType.Setter
public Builder retryPolicy(@Nullable RetryPolicyResponse retryPolicy) {
this.retryPolicy = retryPolicy;
return this;
}
@CustomType.Setter
public Builder serviceBusQueueMessage(@Nullable ServiceBusQueueMessageResponse serviceBusQueueMessage) {
this.serviceBusQueueMessage = serviceBusQueueMessage;
return this;
}
@CustomType.Setter
public Builder serviceBusTopicMessage(@Nullable ServiceBusTopicMessageResponse serviceBusTopicMessage) {
this.serviceBusTopicMessage = serviceBusTopicMessage;
return this;
}
@CustomType.Setter
public Builder type(@Nullable String type) {
this.type = type;
return this;
}
public JobActionResponse build() {
final var _resultValue = new JobActionResponse();
_resultValue.errorAction = errorAction;
_resultValue.queueMessage = queueMessage;
_resultValue.request = request;
_resultValue.retryPolicy = retryPolicy;
_resultValue.serviceBusQueueMessage = serviceBusQueueMessage;
_resultValue.serviceBusTopicMessage = serviceBusTopicMessage;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy