
com.pulumi.azurenative.servicefabric.inputs.ServicePlacementNonPartiallyPlaceServicePolicyArgs 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;
/**
* The name of the domain that should used for placement as per this policy.
*
*/
public final class ServicePlacementNonPartiallyPlaceServicePolicyArgs extends com.pulumi.resources.ResourceArgs {
public static final ServicePlacementNonPartiallyPlaceServicePolicyArgs Empty = new ServicePlacementNonPartiallyPlaceServicePolicyArgs();
/**
* The type of placement policy for a service fabric service. Following are the possible values.
* Expected value is 'NonPartiallyPlaceService'.
*
*/
@Import(name="type", required=true)
private Output type;
/**
* @return The type of placement policy for a service fabric service. Following are the possible values.
* Expected value is 'NonPartiallyPlaceService'.
*
*/
public Output type() {
return this.type;
}
private ServicePlacementNonPartiallyPlaceServicePolicyArgs() {}
private ServicePlacementNonPartiallyPlaceServicePolicyArgs(ServicePlacementNonPartiallyPlaceServicePolicyArgs $) {
this.type = $.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ServicePlacementNonPartiallyPlaceServicePolicyArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ServicePlacementNonPartiallyPlaceServicePolicyArgs $;
public Builder() {
$ = new ServicePlacementNonPartiallyPlaceServicePolicyArgs();
}
public Builder(ServicePlacementNonPartiallyPlaceServicePolicyArgs defaults) {
$ = new ServicePlacementNonPartiallyPlaceServicePolicyArgs(Objects.requireNonNull(defaults));
}
/**
* @param type The type of placement policy for a service fabric service. Following are the possible values.
* Expected value is 'NonPartiallyPlaceService'.
*
* @return builder
*
*/
public Builder type(Output type) {
$.type = type;
return this;
}
/**
* @param type The type of placement policy for a service fabric service. Following are the possible values.
* Expected value is 'NonPartiallyPlaceService'.
*
* @return builder
*
*/
public Builder type(String type) {
return type(Output.of(type));
}
public ServicePlacementNonPartiallyPlaceServicePolicyArgs build() {
$.type = Codegen.stringProp("type").output().arg($.type).require();
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy