
com.pulumi.azurenative.customerinsights.outputs.CanonicalProfileDefinitionResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure 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.pulumi.azurenative.customerinsights.outputs;
import com.pulumi.azurenative.customerinsights.outputs.CanonicalProfileDefinitionResponseProperties;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class CanonicalProfileDefinitionResponse {
/**
* @return Canonical profile ID.
*
*/
private @Nullable Integer canonicalProfileId;
/**
* @return Properties of the canonical profile.
*
*/
private @Nullable List properties;
private CanonicalProfileDefinitionResponse() {}
/**
* @return Canonical profile ID.
*
*/
public Optional canonicalProfileId() {
return Optional.ofNullable(this.canonicalProfileId);
}
/**
* @return Properties of the canonical profile.
*
*/
public List properties() {
return this.properties == null ? List.of() : this.properties;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CanonicalProfileDefinitionResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer canonicalProfileId;
private @Nullable List properties;
public Builder() {}
public Builder(CanonicalProfileDefinitionResponse defaults) {
Objects.requireNonNull(defaults);
this.canonicalProfileId = defaults.canonicalProfileId;
this.properties = defaults.properties;
}
@CustomType.Setter
public Builder canonicalProfileId(@Nullable Integer canonicalProfileId) {
this.canonicalProfileId = canonicalProfileId;
return this;
}
@CustomType.Setter
public Builder properties(@Nullable List properties) {
this.properties = properties;
return this;
}
public Builder properties(CanonicalProfileDefinitionResponseProperties... properties) {
return properties(List.of(properties));
}
public CanonicalProfileDefinitionResponse build() {
final var _resultValue = new CanonicalProfileDefinitionResponse();
_resultValue.canonicalProfileId = canonicalProfileId;
_resultValue.properties = properties;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy