
com.pulumi.azurenative.logic.inputs.ListWorkflowCallbackUrlPlainArgs 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.logic.inputs;
import com.pulumi.azurenative.logic.enums.KeyType;
import com.pulumi.core.Either;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class ListWorkflowCallbackUrlPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final ListWorkflowCallbackUrlPlainArgs Empty = new ListWorkflowCallbackUrlPlainArgs();
/**
* The key type.
*
*/
@Import(name="keyType")
private @Nullable Either keyType;
/**
* @return The key type.
*
*/
public Optional> keyType() {
return Optional.ofNullable(this.keyType);
}
/**
* The expiry time.
*
*/
@Import(name="notAfter")
private @Nullable String notAfter;
/**
* @return The expiry time.
*
*/
public Optional notAfter() {
return Optional.ofNullable(this.notAfter);
}
/**
* The resource group name.
*
*/
@Import(name="resourceGroupName", required=true)
private String resourceGroupName;
/**
* @return The resource group name.
*
*/
public String resourceGroupName() {
return this.resourceGroupName;
}
/**
* The workflow name.
*
*/
@Import(name="workflowName", required=true)
private String workflowName;
/**
* @return The workflow name.
*
*/
public String workflowName() {
return this.workflowName;
}
private ListWorkflowCallbackUrlPlainArgs() {}
private ListWorkflowCallbackUrlPlainArgs(ListWorkflowCallbackUrlPlainArgs $) {
this.keyType = $.keyType;
this.notAfter = $.notAfter;
this.resourceGroupName = $.resourceGroupName;
this.workflowName = $.workflowName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ListWorkflowCallbackUrlPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ListWorkflowCallbackUrlPlainArgs $;
public Builder() {
$ = new ListWorkflowCallbackUrlPlainArgs();
}
public Builder(ListWorkflowCallbackUrlPlainArgs defaults) {
$ = new ListWorkflowCallbackUrlPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param keyType The key type.
*
* @return builder
*
*/
public Builder keyType(@Nullable Either keyType) {
$.keyType = keyType;
return this;
}
/**
* @param keyType The key type.
*
* @return builder
*
*/
public Builder keyType(String keyType) {
return keyType(Either.ofLeft(keyType));
}
/**
* @param keyType The key type.
*
* @return builder
*
*/
public Builder keyType(KeyType keyType) {
return keyType(Either.ofRight(keyType));
}
/**
* @param notAfter The expiry time.
*
* @return builder
*
*/
public Builder notAfter(@Nullable String notAfter) {
$.notAfter = notAfter;
return this;
}
/**
* @param resourceGroupName The resource group name.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param workflowName The workflow name.
*
* @return builder
*
*/
public Builder workflowName(String workflowName) {
$.workflowName = workflowName;
return this;
}
public ListWorkflowCallbackUrlPlainArgs build() {
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("ListWorkflowCallbackUrlPlainArgs", "resourceGroupName");
}
if ($.workflowName == null) {
throw new MissingRequiredPropertyException("ListWorkflowCallbackUrlPlainArgs", "workflowName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy