All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.kubernetes.networking.v1beta1.outputs.IPAddressSpecPatch Maven / Gradle / Ivy

There is a newer version: 4.19.0-alpha.1730750641
Show 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.kubernetes.networking.v1beta1.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.kubernetes.networking.v1beta1.outputs.ParentReferencePatch;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class IPAddressSpecPatch {
    /**
     * @return ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object.
     * 
     */
    private @Nullable ParentReferencePatch parentRef;

    private IPAddressSpecPatch() {}
    /**
     * @return ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object.
     * 
     */
    public Optional parentRef() {
        return Optional.ofNullable(this.parentRef);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(IPAddressSpecPatch defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable ParentReferencePatch parentRef;
        public Builder() {}
        public Builder(IPAddressSpecPatch defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.parentRef = defaults.parentRef;
        }

        @CustomType.Setter
        public Builder parentRef(@Nullable ParentReferencePatch parentRef) {

            this.parentRef = parentRef;
            return this;
        }
        public IPAddressSpecPatch build() {
            final var _resultValue = new IPAddressSpecPatch();
            _resultValue.parentRef = parentRef;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy