
com.pulumi.azurenative.storageactions.inputs.GetStorageTaskArgs 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.storageactions.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetStorageTaskArgs extends com.pulumi.resources.InvokeArgs {
public static final GetStorageTaskArgs Empty = new GetStorageTaskArgs();
/**
* The name of the resource group. The name is case insensitive.
*
*/
@Import(name="resourceGroupName", required=true)
private Output resourceGroupName;
/**
* @return The name of the resource group. The name is case insensitive.
*
*/
public Output resourceGroupName() {
return this.resourceGroupName;
}
/**
* The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only.
*
*/
@Import(name="storageTaskName", required=true)
private Output storageTaskName;
/**
* @return The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only.
*
*/
public Output storageTaskName() {
return this.storageTaskName;
}
private GetStorageTaskArgs() {}
private GetStorageTaskArgs(GetStorageTaskArgs $) {
this.resourceGroupName = $.resourceGroupName;
this.storageTaskName = $.storageTaskName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetStorageTaskArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetStorageTaskArgs $;
public Builder() {
$ = new GetStorageTaskArgs();
}
public Builder(GetStorageTaskArgs defaults) {
$ = new GetStorageTaskArgs(Objects.requireNonNull(defaults));
}
/**
* @param resourceGroupName The name of the resource group. The name is case insensitive.
*
* @return builder
*
*/
public Builder resourceGroupName(Output resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param resourceGroupName The name of the resource group. The name is case insensitive.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
return resourceGroupName(Output.of(resourceGroupName));
}
/**
* @param storageTaskName The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only.
*
* @return builder
*
*/
public Builder storageTaskName(Output storageTaskName) {
$.storageTaskName = storageTaskName;
return this;
}
/**
* @param storageTaskName The name of the storage task within the specified resource group. Storage task names must be between 3 and 18 characters in length and use numbers and lower-case letters only.
*
* @return builder
*
*/
public Builder storageTaskName(String storageTaskName) {
return storageTaskName(Output.of(storageTaskName));
}
public GetStorageTaskArgs build() {
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetStorageTaskArgs", "resourceGroupName");
}
if ($.storageTaskName == null) {
throw new MissingRequiredPropertyException("GetStorageTaskArgs", "storageTaskName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy