com.pulumi.spotinst.oceancd.outputs.RolloutSpecSpotDeployment Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spotinst Show documentation
Show all versions of spotinst Show documentation
A Pulumi package for creating and managing spotinst cloud resources.
The newest version!
// *** 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.spotinst.oceancd.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class RolloutSpecSpotDeployment {
/**
* @return Ocean CD cluster identifier for the references `SpotDeployment`.
*
*/
private @Nullable String spotDeploymentsClusterId;
/**
* @return The name of the `SpotDeployment` resource
*
*/
private @Nullable String spotDeploymentsName;
/**
* @return The namespace which the `SpotDeployment` resource exists within.
*
*/
private @Nullable String spotDeploymentsNamespace;
private RolloutSpecSpotDeployment() {}
/**
* @return Ocean CD cluster identifier for the references `SpotDeployment`.
*
*/
public Optional spotDeploymentsClusterId() {
return Optional.ofNullable(this.spotDeploymentsClusterId);
}
/**
* @return The name of the `SpotDeployment` resource
*
*/
public Optional spotDeploymentsName() {
return Optional.ofNullable(this.spotDeploymentsName);
}
/**
* @return The namespace which the `SpotDeployment` resource exists within.
*
*/
public Optional spotDeploymentsNamespace() {
return Optional.ofNullable(this.spotDeploymentsNamespace);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RolloutSpecSpotDeployment defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String spotDeploymentsClusterId;
private @Nullable String spotDeploymentsName;
private @Nullable String spotDeploymentsNamespace;
public Builder() {}
public Builder(RolloutSpecSpotDeployment defaults) {
Objects.requireNonNull(defaults);
this.spotDeploymentsClusterId = defaults.spotDeploymentsClusterId;
this.spotDeploymentsName = defaults.spotDeploymentsName;
this.spotDeploymentsNamespace = defaults.spotDeploymentsNamespace;
}
@CustomType.Setter
public Builder spotDeploymentsClusterId(@Nullable String spotDeploymentsClusterId) {
this.spotDeploymentsClusterId = spotDeploymentsClusterId;
return this;
}
@CustomType.Setter
public Builder spotDeploymentsName(@Nullable String spotDeploymentsName) {
this.spotDeploymentsName = spotDeploymentsName;
return this;
}
@CustomType.Setter
public Builder spotDeploymentsNamespace(@Nullable String spotDeploymentsNamespace) {
this.spotDeploymentsNamespace = spotDeploymentsNamespace;
return this;
}
public RolloutSpecSpotDeployment build() {
final var _resultValue = new RolloutSpecSpotDeployment();
_resultValue.spotDeploymentsClusterId = spotDeploymentsClusterId;
_resultValue.spotDeploymentsName = spotDeploymentsName;
_resultValue.spotDeploymentsNamespace = spotDeploymentsNamespace;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy