
com.pulumi.azurenative.streamanalytics.outputs.GetStreamingJobResult 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.streamanalytics.outputs;
import com.pulumi.azurenative.streamanalytics.outputs.ClusterInfoResponse;
import com.pulumi.azurenative.streamanalytics.outputs.FunctionResponse;
import com.pulumi.azurenative.streamanalytics.outputs.IdentityResponse;
import com.pulumi.azurenative.streamanalytics.outputs.InputResponse;
import com.pulumi.azurenative.streamanalytics.outputs.JobStorageAccountResponse;
import com.pulumi.azurenative.streamanalytics.outputs.OutputResponse;
import com.pulumi.azurenative.streamanalytics.outputs.SkuResponse;
import com.pulumi.azurenative.streamanalytics.outputs.TransformationResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetStreamingJobResult {
/**
* @return The cluster which streaming jobs will run on.
*
*/
private @Nullable ClusterInfoResponse cluster;
/**
* @return Controls certain runtime behaviors of the streaming job.
*
*/
private @Nullable String compatibilityLevel;
/**
* @return Valid values are JobStorageAccount and SystemAccount. If set to JobStorageAccount, this requires the user to also specify jobStorageAccount property. .
*
*/
private @Nullable String contentStoragePolicy;
/**
* @return Value is an ISO-8601 formatted UTC timestamp indicating when the streaming job was created.
*
*/
private String createdDate;
/**
* @return The data locale of the stream analytics job. Value should be the name of a supported .NET Culture from the set https://msdn.microsoft.com/en-us/library/system.globalization.culturetypes(v=vs.110).aspx. Defaults to 'en-US' if none specified.
*
*/
private @Nullable String dataLocale;
/**
* @return The current entity tag for the streaming job. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.
*
*/
private String etag;
/**
* @return The maximum tolerable delay in seconds where events arriving late could be included. Supported range is -1 to 1814399 (20.23:59:59 days) and -1 is used to specify wait indefinitely. If the property is absent, it is interpreted to have a value of -1.
*
*/
private @Nullable Integer eventsLateArrivalMaxDelayInSeconds;
/**
* @return The maximum tolerable delay in seconds where out-of-order events can be adjusted to be back in order.
*
*/
private @Nullable Integer eventsOutOfOrderMaxDelayInSeconds;
/**
* @return Indicates the policy to apply to events that arrive out of order in the input event stream.
*
*/
private @Nullable String eventsOutOfOrderPolicy;
/**
* @return A list of one or more functions for the streaming job. The name property for each function is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual transformation.
*
*/
private @Nullable List functions;
/**
* @return Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
private String id;
/**
* @return Describes the system-assigned managed identity assigned to this job that can be used to authenticate with inputs and outputs.
*
*/
private @Nullable IdentityResponse identity;
/**
* @return A list of one or more inputs to the streaming job. The name property for each input is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual input.
*
*/
private @Nullable List inputs;
/**
* @return A GUID uniquely identifying the streaming job. This GUID is generated upon creation of the streaming job.
*
*/
private String jobId;
/**
* @return Describes the state of the streaming job.
*
*/
private String jobState;
/**
* @return The properties that are associated with an Azure Storage account with MSI
*
*/
private @Nullable JobStorageAccountResponse jobStorageAccount;
/**
* @return Describes the type of the job. Valid modes are `Cloud` and 'Edge'.
*
*/
private @Nullable String jobType;
/**
* @return Value is either an ISO-8601 formatted timestamp indicating the last output event time of the streaming job or null indicating that output has not yet been produced. In case of multiple outputs or multiple streams, this shows the latest value in that set.
*
*/
private String lastOutputEventTime;
/**
* @return The geo-location where the resource lives
*
*/
private @Nullable String location;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return Indicates the policy to apply to events that arrive at the output and cannot be written to the external storage due to being malformed (missing column values, column values of wrong type or size).
*
*/
private @Nullable String outputErrorPolicy;
/**
* @return This property should only be utilized when it is desired that the job be started immediately upon creation. Value may be JobStartTime, CustomTime, or LastOutputEventTime to indicate whether the starting point of the output event stream should start whenever the job is started, start at a custom user time stamp specified via the outputStartTime property, or start from the last event output time.
*
*/
private @Nullable String outputStartMode;
/**
* @return Value is either an ISO-8601 formatted time stamp that indicates the starting point of the output event stream, or null to indicate that the output event stream will start whenever the streaming job is started. This property must have a value if outputStartMode is set to CustomTime.
*
*/
private @Nullable String outputStartTime;
/**
* @return A list of one or more outputs for the streaming job. The name property for each output is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual output.
*
*/
private @Nullable List outputs;
/**
* @return Describes the provisioning status of the streaming job.
*
*/
private String provisioningState;
/**
* @return Describes the SKU of the streaming job. Required on PUT (CreateOrReplace) requests.
*
*/
private @Nullable SkuResponse sku;
/**
* @return Resource tags.
*
*/
private @Nullable Map tags;
/**
* @return Indicates the query and the number of streaming units to use for the streaming job. The name property of the transformation is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual transformation.
*
*/
private @Nullable TransformationResponse transformation;
/**
* @return The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
*
*/
private String type;
private GetStreamingJobResult() {}
/**
* @return The cluster which streaming jobs will run on.
*
*/
public Optional cluster() {
return Optional.ofNullable(this.cluster);
}
/**
* @return Controls certain runtime behaviors of the streaming job.
*
*/
public Optional compatibilityLevel() {
return Optional.ofNullable(this.compatibilityLevel);
}
/**
* @return Valid values are JobStorageAccount and SystemAccount. If set to JobStorageAccount, this requires the user to also specify jobStorageAccount property. .
*
*/
public Optional contentStoragePolicy() {
return Optional.ofNullable(this.contentStoragePolicy);
}
/**
* @return Value is an ISO-8601 formatted UTC timestamp indicating when the streaming job was created.
*
*/
public String createdDate() {
return this.createdDate;
}
/**
* @return The data locale of the stream analytics job. Value should be the name of a supported .NET Culture from the set https://msdn.microsoft.com/en-us/library/system.globalization.culturetypes(v=vs.110).aspx. Defaults to 'en-US' if none specified.
*
*/
public Optional dataLocale() {
return Optional.ofNullable(this.dataLocale);
}
/**
* @return The current entity tag for the streaming job. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.
*
*/
public String etag() {
return this.etag;
}
/**
* @return The maximum tolerable delay in seconds where events arriving late could be included. Supported range is -1 to 1814399 (20.23:59:59 days) and -1 is used to specify wait indefinitely. If the property is absent, it is interpreted to have a value of -1.
*
*/
public Optional eventsLateArrivalMaxDelayInSeconds() {
return Optional.ofNullable(this.eventsLateArrivalMaxDelayInSeconds);
}
/**
* @return The maximum tolerable delay in seconds where out-of-order events can be adjusted to be back in order.
*
*/
public Optional eventsOutOfOrderMaxDelayInSeconds() {
return Optional.ofNullable(this.eventsOutOfOrderMaxDelayInSeconds);
}
/**
* @return Indicates the policy to apply to events that arrive out of order in the input event stream.
*
*/
public Optional eventsOutOfOrderPolicy() {
return Optional.ofNullable(this.eventsOutOfOrderPolicy);
}
/**
* @return A list of one or more functions for the streaming job. The name property for each function is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual transformation.
*
*/
public List functions() {
return this.functions == null ? List.of() : this.functions;
}
/**
* @return Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
public String id() {
return this.id;
}
/**
* @return Describes the system-assigned managed identity assigned to this job that can be used to authenticate with inputs and outputs.
*
*/
public Optional identity() {
return Optional.ofNullable(this.identity);
}
/**
* @return A list of one or more inputs to the streaming job. The name property for each input is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual input.
*
*/
public List inputs() {
return this.inputs == null ? List.of() : this.inputs;
}
/**
* @return A GUID uniquely identifying the streaming job. This GUID is generated upon creation of the streaming job.
*
*/
public String jobId() {
return this.jobId;
}
/**
* @return Describes the state of the streaming job.
*
*/
public String jobState() {
return this.jobState;
}
/**
* @return The properties that are associated with an Azure Storage account with MSI
*
*/
public Optional jobStorageAccount() {
return Optional.ofNullable(this.jobStorageAccount);
}
/**
* @return Describes the type of the job. Valid modes are `Cloud` and 'Edge'.
*
*/
public Optional jobType() {
return Optional.ofNullable(this.jobType);
}
/**
* @return Value is either an ISO-8601 formatted timestamp indicating the last output event time of the streaming job or null indicating that output has not yet been produced. In case of multiple outputs or multiple streams, this shows the latest value in that set.
*
*/
public String lastOutputEventTime() {
return this.lastOutputEventTime;
}
/**
* @return The geo-location where the resource lives
*
*/
public Optional location() {
return Optional.ofNullable(this.location);
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return Indicates the policy to apply to events that arrive at the output and cannot be written to the external storage due to being malformed (missing column values, column values of wrong type or size).
*
*/
public Optional outputErrorPolicy() {
return Optional.ofNullable(this.outputErrorPolicy);
}
/**
* @return This property should only be utilized when it is desired that the job be started immediately upon creation. Value may be JobStartTime, CustomTime, or LastOutputEventTime to indicate whether the starting point of the output event stream should start whenever the job is started, start at a custom user time stamp specified via the outputStartTime property, or start from the last event output time.
*
*/
public Optional outputStartMode() {
return Optional.ofNullable(this.outputStartMode);
}
/**
* @return Value is either an ISO-8601 formatted time stamp that indicates the starting point of the output event stream, or null to indicate that the output event stream will start whenever the streaming job is started. This property must have a value if outputStartMode is set to CustomTime.
*
*/
public Optional outputStartTime() {
return Optional.ofNullable(this.outputStartTime);
}
/**
* @return A list of one or more outputs for the streaming job. The name property for each output is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual output.
*
*/
public List outputs() {
return this.outputs == null ? List.of() : this.outputs;
}
/**
* @return Describes the provisioning status of the streaming job.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Describes the SKU of the streaming job. Required on PUT (CreateOrReplace) requests.
*
*/
public Optional sku() {
return Optional.ofNullable(this.sku);
}
/**
* @return Resource tags.
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return Indicates the query and the number of streaming units to use for the streaming job. The name property of the transformation is required when specifying this property in a PUT request. This property cannot be modify via a PATCH operation. You must use the PATCH API available for the individual transformation.
*
*/
public Optional transformation() {
return Optional.ofNullable(this.transformation);
}
/**
* @return The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetStreamingJobResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable ClusterInfoResponse cluster;
private @Nullable String compatibilityLevel;
private @Nullable String contentStoragePolicy;
private String createdDate;
private @Nullable String dataLocale;
private String etag;
private @Nullable Integer eventsLateArrivalMaxDelayInSeconds;
private @Nullable Integer eventsOutOfOrderMaxDelayInSeconds;
private @Nullable String eventsOutOfOrderPolicy;
private @Nullable List functions;
private String id;
private @Nullable IdentityResponse identity;
private @Nullable List inputs;
private String jobId;
private String jobState;
private @Nullable JobStorageAccountResponse jobStorageAccount;
private @Nullable String jobType;
private String lastOutputEventTime;
private @Nullable String location;
private String name;
private @Nullable String outputErrorPolicy;
private @Nullable String outputStartMode;
private @Nullable String outputStartTime;
private @Nullable List outputs;
private String provisioningState;
private @Nullable SkuResponse sku;
private @Nullable Map tags;
private @Nullable TransformationResponse transformation;
private String type;
public Builder() {}
public Builder(GetStreamingJobResult defaults) {
Objects.requireNonNull(defaults);
this.cluster = defaults.cluster;
this.compatibilityLevel = defaults.compatibilityLevel;
this.contentStoragePolicy = defaults.contentStoragePolicy;
this.createdDate = defaults.createdDate;
this.dataLocale = defaults.dataLocale;
this.etag = defaults.etag;
this.eventsLateArrivalMaxDelayInSeconds = defaults.eventsLateArrivalMaxDelayInSeconds;
this.eventsOutOfOrderMaxDelayInSeconds = defaults.eventsOutOfOrderMaxDelayInSeconds;
this.eventsOutOfOrderPolicy = defaults.eventsOutOfOrderPolicy;
this.functions = defaults.functions;
this.id = defaults.id;
this.identity = defaults.identity;
this.inputs = defaults.inputs;
this.jobId = defaults.jobId;
this.jobState = defaults.jobState;
this.jobStorageAccount = defaults.jobStorageAccount;
this.jobType = defaults.jobType;
this.lastOutputEventTime = defaults.lastOutputEventTime;
this.location = defaults.location;
this.name = defaults.name;
this.outputErrorPolicy = defaults.outputErrorPolicy;
this.outputStartMode = defaults.outputStartMode;
this.outputStartTime = defaults.outputStartTime;
this.outputs = defaults.outputs;
this.provisioningState = defaults.provisioningState;
this.sku = defaults.sku;
this.tags = defaults.tags;
this.transformation = defaults.transformation;
this.type = defaults.type;
}
@CustomType.Setter
public Builder cluster(@Nullable ClusterInfoResponse cluster) {
this.cluster = cluster;
return this;
}
@CustomType.Setter
public Builder compatibilityLevel(@Nullable String compatibilityLevel) {
this.compatibilityLevel = compatibilityLevel;
return this;
}
@CustomType.Setter
public Builder contentStoragePolicy(@Nullable String contentStoragePolicy) {
this.contentStoragePolicy = contentStoragePolicy;
return this;
}
@CustomType.Setter
public Builder createdDate(String createdDate) {
if (createdDate == null) {
throw new MissingRequiredPropertyException("GetStreamingJobResult", "createdDate");
}
this.createdDate = createdDate;
return this;
}
@CustomType.Setter
public Builder dataLocale(@Nullable String dataLocale) {
this.dataLocale = dataLocale;
return this;
}
@CustomType.Setter
public Builder etag(String etag) {
if (etag == null) {
throw new MissingRequiredPropertyException("GetStreamingJobResult", "etag");
}
this.etag = etag;
return this;
}
@CustomType.Setter
public Builder eventsLateArrivalMaxDelayInSeconds(@Nullable Integer eventsLateArrivalMaxDelayInSeconds) {
this.eventsLateArrivalMaxDelayInSeconds = eventsLateArrivalMaxDelayInSeconds;
return this;
}
@CustomType.Setter
public Builder eventsOutOfOrderMaxDelayInSeconds(@Nullable Integer eventsOutOfOrderMaxDelayInSeconds) {
this.eventsOutOfOrderMaxDelayInSeconds = eventsOutOfOrderMaxDelayInSeconds;
return this;
}
@CustomType.Setter
public Builder eventsOutOfOrderPolicy(@Nullable String eventsOutOfOrderPolicy) {
this.eventsOutOfOrderPolicy = eventsOutOfOrderPolicy;
return this;
}
@CustomType.Setter
public Builder functions(@Nullable List functions) {
this.functions = functions;
return this;
}
public Builder functions(FunctionResponse... functions) {
return functions(List.of(functions));
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetStreamingJobResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder identity(@Nullable IdentityResponse identity) {
this.identity = identity;
return this;
}
@CustomType.Setter
public Builder inputs(@Nullable List inputs) {
this.inputs = inputs;
return this;
}
public Builder inputs(InputResponse... inputs) {
return inputs(List.of(inputs));
}
@CustomType.Setter
public Builder jobId(String jobId) {
if (jobId == null) {
throw new MissingRequiredPropertyException("GetStreamingJobResult", "jobId");
}
this.jobId = jobId;
return this;
}
@CustomType.Setter
public Builder jobState(String jobState) {
if (jobState == null) {
throw new MissingRequiredPropertyException("GetStreamingJobResult", "jobState");
}
this.jobState = jobState;
return this;
}
@CustomType.Setter
public Builder jobStorageAccount(@Nullable JobStorageAccountResponse jobStorageAccount) {
this.jobStorageAccount = jobStorageAccount;
return this;
}
@CustomType.Setter
public Builder jobType(@Nullable String jobType) {
this.jobType = jobType;
return this;
}
@CustomType.Setter
public Builder lastOutputEventTime(String lastOutputEventTime) {
if (lastOutputEventTime == null) {
throw new MissingRequiredPropertyException("GetStreamingJobResult", "lastOutputEventTime");
}
this.lastOutputEventTime = lastOutputEventTime;
return this;
}
@CustomType.Setter
public Builder location(@Nullable String location) {
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetStreamingJobResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder outputErrorPolicy(@Nullable String outputErrorPolicy) {
this.outputErrorPolicy = outputErrorPolicy;
return this;
}
@CustomType.Setter
public Builder outputStartMode(@Nullable String outputStartMode) {
this.outputStartMode = outputStartMode;
return this;
}
@CustomType.Setter
public Builder outputStartTime(@Nullable String outputStartTime) {
this.outputStartTime = outputStartTime;
return this;
}
@CustomType.Setter
public Builder outputs(@Nullable List outputs) {
this.outputs = outputs;
return this;
}
public Builder outputs(OutputResponse... outputs) {
return outputs(List.of(outputs));
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetStreamingJobResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder sku(@Nullable SkuResponse sku) {
this.sku = sku;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder transformation(@Nullable TransformationResponse transformation) {
this.transformation = transformation;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetStreamingJobResult", "type");
}
this.type = type;
return this;
}
public GetStreamingJobResult build() {
final var _resultValue = new GetStreamingJobResult();
_resultValue.cluster = cluster;
_resultValue.compatibilityLevel = compatibilityLevel;
_resultValue.contentStoragePolicy = contentStoragePolicy;
_resultValue.createdDate = createdDate;
_resultValue.dataLocale = dataLocale;
_resultValue.etag = etag;
_resultValue.eventsLateArrivalMaxDelayInSeconds = eventsLateArrivalMaxDelayInSeconds;
_resultValue.eventsOutOfOrderMaxDelayInSeconds = eventsOutOfOrderMaxDelayInSeconds;
_resultValue.eventsOutOfOrderPolicy = eventsOutOfOrderPolicy;
_resultValue.functions = functions;
_resultValue.id = id;
_resultValue.identity = identity;
_resultValue.inputs = inputs;
_resultValue.jobId = jobId;
_resultValue.jobState = jobState;
_resultValue.jobStorageAccount = jobStorageAccount;
_resultValue.jobType = jobType;
_resultValue.lastOutputEventTime = lastOutputEventTime;
_resultValue.location = location;
_resultValue.name = name;
_resultValue.outputErrorPolicy = outputErrorPolicy;
_resultValue.outputStartMode = outputStartMode;
_resultValue.outputStartTime = outputStartTime;
_resultValue.outputs = outputs;
_resultValue.provisioningState = provisioningState;
_resultValue.sku = sku;
_resultValue.tags = tags;
_resultValue.transformation = transformation;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy