
com.pulumi.azurenative.awsconnector.outputs.ProductCodeResponse 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.awsconnector.outputs;
import com.pulumi.azurenative.awsconnector.outputs.ProductCodeValuesEnumValueResponse;
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 ProductCodeResponse {
/**
* @return <p>The product code.</p>
*
*/
private @Nullable String productCodeId;
/**
* @return <p>The type of product code.</p>
*
*/
private @Nullable ProductCodeValuesEnumValueResponse productCodeType;
private ProductCodeResponse() {}
/**
* @return <p>The product code.</p>
*
*/
public Optional productCodeId() {
return Optional.ofNullable(this.productCodeId);
}
/**
* @return <p>The type of product code.</p>
*
*/
public Optional productCodeType() {
return Optional.ofNullable(this.productCodeType);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ProductCodeResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String productCodeId;
private @Nullable ProductCodeValuesEnumValueResponse productCodeType;
public Builder() {}
public Builder(ProductCodeResponse defaults) {
Objects.requireNonNull(defaults);
this.productCodeId = defaults.productCodeId;
this.productCodeType = defaults.productCodeType;
}
@CustomType.Setter
public Builder productCodeId(@Nullable String productCodeId) {
this.productCodeId = productCodeId;
return this;
}
@CustomType.Setter
public Builder productCodeType(@Nullable ProductCodeValuesEnumValueResponse productCodeType) {
this.productCodeType = productCodeType;
return this;
}
public ProductCodeResponse build() {
final var _resultValue = new ProductCodeResponse();
_resultValue.productCodeId = productCodeId;
_resultValue.productCodeType = productCodeType;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy