
com.pulumi.azurenative.servicefabric.inputs.SingletonPartitionSchemeArgs 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.servicefabric.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;
/**
* Describes the partition scheme of a singleton-partitioned, or non-partitioned service.
*
*/
public final class SingletonPartitionSchemeArgs extends com.pulumi.resources.ResourceArgs {
public static final SingletonPartitionSchemeArgs Empty = new SingletonPartitionSchemeArgs();
/**
* Enumerates the ways that a service can be partitioned.
* Expected value is 'Singleton'.
*
*/
@Import(name="partitionScheme", required=true)
private Output partitionScheme;
/**
* @return Enumerates the ways that a service can be partitioned.
* Expected value is 'Singleton'.
*
*/
public Output partitionScheme() {
return this.partitionScheme;
}
private SingletonPartitionSchemeArgs() {}
private SingletonPartitionSchemeArgs(SingletonPartitionSchemeArgs $) {
this.partitionScheme = $.partitionScheme;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SingletonPartitionSchemeArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private SingletonPartitionSchemeArgs $;
public Builder() {
$ = new SingletonPartitionSchemeArgs();
}
public Builder(SingletonPartitionSchemeArgs defaults) {
$ = new SingletonPartitionSchemeArgs(Objects.requireNonNull(defaults));
}
/**
* @param partitionScheme Enumerates the ways that a service can be partitioned.
* Expected value is 'Singleton'.
*
* @return builder
*
*/
public Builder partitionScheme(Output partitionScheme) {
$.partitionScheme = partitionScheme;
return this;
}
/**
* @param partitionScheme Enumerates the ways that a service can be partitioned.
* Expected value is 'Singleton'.
*
* @return builder
*
*/
public Builder partitionScheme(String partitionScheme) {
return partitionScheme(Output.of(partitionScheme));
}
public SingletonPartitionSchemeArgs build() {
$.partitionScheme = Codegen.stringProp("partitionScheme").output().arg($.partitionScheme).require();
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy