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

com.pulumi.azurenative.cloudngfw.outputs.IPAddressResponse Maven / Gradle / Ivy

There is a newer version: 2.78.0
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.azurenative.cloudngfw.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 IPAddressResponse {
    /**
     * @return Address value
     * 
     */
    private @Nullable String address;
    /**
     * @return Resource Id
     * 
     */
    private @Nullable String resourceId;

    private IPAddressResponse() {}
    /**
     * @return Address value
     * 
     */
    public Optional address() {
        return Optional.ofNullable(this.address);
    }
    /**
     * @return Resource Id
     * 
     */
    public Optional resourceId() {
        return Optional.ofNullable(this.resourceId);
    }

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

    public static Builder builder(IPAddressResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String address;
        private @Nullable String resourceId;
        public Builder() {}
        public Builder(IPAddressResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.address = defaults.address;
    	      this.resourceId = defaults.resourceId;
        }

        @CustomType.Setter
        public Builder address(@Nullable String address) {

            this.address = address;
            return this;
        }
        @CustomType.Setter
        public Builder resourceId(@Nullable String resourceId) {

            this.resourceId = resourceId;
            return this;
        }
        public IPAddressResponse build() {
            final var _resultValue = new IPAddressResponse();
            _resultValue.address = address;
            _resultValue.resourceId = resourceId;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy