com.equinix.pulumi.fabric.outputs.GetServiceProfilesDatumMarketingInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of equinix Show documentation
Show all versions of equinix Show documentation
A Pulumi package for creating and managing equinix cloud 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.equinix.pulumi.fabric.outputs;
import com.equinix.pulumi.fabric.outputs.GetServiceProfilesDatumMarketingInfoProcessStep;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetServiceProfilesDatumMarketingInfo {
/**
* @return Logo
*
*/
private @Nullable String logo;
/**
* @return Process Step
*
*/
private @Nullable List processSteps;
/**
* @return Promotion
*
*/
private @Nullable Boolean promotion;
private GetServiceProfilesDatumMarketingInfo() {}
/**
* @return Logo
*
*/
public Optional logo() {
return Optional.ofNullable(this.logo);
}
/**
* @return Process Step
*
*/
public List processSteps() {
return this.processSteps == null ? List.of() : this.processSteps;
}
/**
* @return Promotion
*
*/
public Optional promotion() {
return Optional.ofNullable(this.promotion);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetServiceProfilesDatumMarketingInfo defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String logo;
private @Nullable List processSteps;
private @Nullable Boolean promotion;
public Builder() {}
public Builder(GetServiceProfilesDatumMarketingInfo defaults) {
Objects.requireNonNull(defaults);
this.logo = defaults.logo;
this.processSteps = defaults.processSteps;
this.promotion = defaults.promotion;
}
@CustomType.Setter
public Builder logo(@Nullable String logo) {
this.logo = logo;
return this;
}
@CustomType.Setter
public Builder processSteps(@Nullable List processSteps) {
this.processSteps = processSteps;
return this;
}
public Builder processSteps(GetServiceProfilesDatumMarketingInfoProcessStep... processSteps) {
return processSteps(List.of(processSteps));
}
@CustomType.Setter
public Builder promotion(@Nullable Boolean promotion) {
this.promotion = promotion;
return this;
}
public GetServiceProfilesDatumMarketingInfo build() {
final var _resultValue = new GetServiceProfilesDatumMarketingInfo();
_resultValue.logo = logo;
_resultValue.processSteps = processSteps;
_resultValue.promotion = promotion;
return _resultValue;
}
}
}