com.ovhcloud.pulumi.ovh.Ip.outputs.MoveRoutedTo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-ovh Show documentation
Show all versions of pulumi-ovh Show documentation
A Pulumi package for creating and managing OVH 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.ovhcloud.pulumi.ovh.Ip.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class MoveRoutedTo {
/**
* @return Name of the service to route the IP to. IP will be parked if this value is an empty string
*
*/
private String serviceName;
private MoveRoutedTo() {}
/**
* @return Name of the service to route the IP to. IP will be parked if this value is an empty string
*
*/
public String serviceName() {
return this.serviceName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(MoveRoutedTo defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String serviceName;
public Builder() {}
public Builder(MoveRoutedTo defaults) {
Objects.requireNonNull(defaults);
this.serviceName = defaults.serviceName;
}
@CustomType.Setter
public Builder serviceName(String serviceName) {
if (serviceName == null) {
throw new MissingRequiredPropertyException("MoveRoutedTo", "serviceName");
}
this.serviceName = serviceName;
return this;
}
public MoveRoutedTo build() {
final var _resultValue = new MoveRoutedTo();
_resultValue.serviceName = serviceName;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy