com.pulumi.azurenative.streamanalytics.outputs.BlobReferenceInputDataSourceResponse 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.
The newest version!
// *** 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.StorageAccountResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class BlobReferenceInputDataSourceResponse {
/**
* @return Authentication Mode.
*
*/
private @Nullable String authenticationMode;
/**
* @return The name of a container within the associated Storage account. This container contains either the blob(s) to be read from or written to. Required on PUT (CreateOrReplace) requests.
*
*/
private @Nullable String container;
/**
* @return The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead.
*
*/
private @Nullable String dateFormat;
/**
* @return The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a more detailed explanation and example.
*
*/
private @Nullable String pathPattern;
/**
* @return A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests.
*
*/
private @Nullable List storageAccounts;
/**
* @return The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead.
*
*/
private @Nullable String timeFormat;
/**
* @return Indicates the type of input data source containing reference data. Required on PUT (CreateOrReplace) requests.
* Expected value is 'Microsoft.Storage/Blob'.
*
*/
private String type;
private BlobReferenceInputDataSourceResponse() {}
/**
* @return Authentication Mode.
*
*/
public Optional authenticationMode() {
return Optional.ofNullable(this.authenticationMode);
}
/**
* @return The name of a container within the associated Storage account. This container contains either the blob(s) to be read from or written to. Required on PUT (CreateOrReplace) requests.
*
*/
public Optional container() {
return Optional.ofNullable(this.container);
}
/**
* @return The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead.
*
*/
public Optional dateFormat() {
return Optional.ofNullable(this.dateFormat);
}
/**
* @return The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a more detailed explanation and example.
*
*/
public Optional pathPattern() {
return Optional.ofNullable(this.pathPattern);
}
/**
* @return A list of one or more Azure Storage accounts. Required on PUT (CreateOrReplace) requests.
*
*/
public List storageAccounts() {
return this.storageAccounts == null ? List.of() : this.storageAccounts;
}
/**
* @return The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead.
*
*/
public Optional timeFormat() {
return Optional.ofNullable(this.timeFormat);
}
/**
* @return Indicates the type of input data source containing reference data. Required on PUT (CreateOrReplace) requests.
* Expected value is 'Microsoft.Storage/Blob'.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(BlobReferenceInputDataSourceResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String authenticationMode;
private @Nullable String container;
private @Nullable String dateFormat;
private @Nullable String pathPattern;
private @Nullable List storageAccounts;
private @Nullable String timeFormat;
private String type;
public Builder() {}
public Builder(BlobReferenceInputDataSourceResponse defaults) {
Objects.requireNonNull(defaults);
this.authenticationMode = defaults.authenticationMode;
this.container = defaults.container;
this.dateFormat = defaults.dateFormat;
this.pathPattern = defaults.pathPattern;
this.storageAccounts = defaults.storageAccounts;
this.timeFormat = defaults.timeFormat;
this.type = defaults.type;
}
@CustomType.Setter
public Builder authenticationMode(@Nullable String authenticationMode) {
this.authenticationMode = authenticationMode;
return this;
}
@CustomType.Setter
public Builder container(@Nullable String container) {
this.container = container;
return this;
}
@CustomType.Setter
public Builder dateFormat(@Nullable String dateFormat) {
this.dateFormat = dateFormat;
return this;
}
@CustomType.Setter
public Builder pathPattern(@Nullable String pathPattern) {
this.pathPattern = pathPattern;
return this;
}
@CustomType.Setter
public Builder storageAccounts(@Nullable List storageAccounts) {
this.storageAccounts = storageAccounts;
return this;
}
public Builder storageAccounts(StorageAccountResponse... storageAccounts) {
return storageAccounts(List.of(storageAccounts));
}
@CustomType.Setter
public Builder timeFormat(@Nullable String timeFormat) {
this.timeFormat = timeFormat;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("BlobReferenceInputDataSourceResponse", "type");
}
this.type = type;
return this;
}
public BlobReferenceInputDataSourceResponse build() {
final var _resultValue = new BlobReferenceInputDataSourceResponse();
_resultValue.authenticationMode = authenticationMode;
_resultValue.container = container;
_resultValue.dateFormat = dateFormat;
_resultValue.pathPattern = pathPattern;
_resultValue.storageAccounts = storageAccounts;
_resultValue.timeFormat = timeFormat;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy