com.pulumi.azurenative.workloads.inputs.LongTermSchedulePolicyArgs 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.workloads.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
/**
* Long term policy schedule.
*
*/
public final class LongTermSchedulePolicyArgs extends com.pulumi.resources.ResourceArgs {
public static final LongTermSchedulePolicyArgs Empty = new LongTermSchedulePolicyArgs();
/**
* This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
* Expected value is 'LongTermSchedulePolicy'.
*
*/
@Import(name="schedulePolicyType", required=true)
private Output schedulePolicyType;
/**
* @return This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
* Expected value is 'LongTermSchedulePolicy'.
*
*/
public Output schedulePolicyType() {
return this.schedulePolicyType;
}
private LongTermSchedulePolicyArgs() {}
private LongTermSchedulePolicyArgs(LongTermSchedulePolicyArgs $) {
this.schedulePolicyType = $.schedulePolicyType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LongTermSchedulePolicyArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private LongTermSchedulePolicyArgs $;
public Builder() {
$ = new LongTermSchedulePolicyArgs();
}
public Builder(LongTermSchedulePolicyArgs defaults) {
$ = new LongTermSchedulePolicyArgs(Objects.requireNonNull(defaults));
}
/**
* @param schedulePolicyType This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
* Expected value is 'LongTermSchedulePolicy'.
*
* @return builder
*
*/
public Builder schedulePolicyType(Output schedulePolicyType) {
$.schedulePolicyType = schedulePolicyType;
return this;
}
/**
* @param schedulePolicyType This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
* Expected value is 'LongTermSchedulePolicy'.
*
* @return builder
*
*/
public Builder schedulePolicyType(String schedulePolicyType) {
return schedulePolicyType(Output.of(schedulePolicyType));
}
public LongTermSchedulePolicyArgs build() {
$.schedulePolicyType = Codegen.stringProp("schedulePolicyType").output().arg($.schedulePolicyType).require();
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy