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

com.pulumi.azurenative.recoveryservices.outputs.IPConfigDetailsResponse 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.recoveryservices.outputs;

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 IPConfigDetailsResponse {
    private @Nullable String ipAddressType;
    private @Nullable Boolean isPrimary;
    private @Nullable Boolean isSeletedForFailover;
    private @Nullable String name;
    private @Nullable String recoveryIPAddressType;
    private @Nullable List recoveryLBBackendAddressPoolIds;
    private @Nullable String recoveryPublicIPAddressId;
    private @Nullable String recoveryStaticIPAddress;
    private @Nullable String recoverySubnetName;
    private @Nullable String staticIPAddress;
    private @Nullable String subnetName;
    private @Nullable List tfoLBBackendAddressPoolIds;
    private @Nullable String tfoPublicIPAddressId;
    private @Nullable String tfoStaticIPAddress;
    private @Nullable String tfoSubnetName;

    private IPConfigDetailsResponse() {}
    public Optional ipAddressType() {
        return Optional.ofNullable(this.ipAddressType);
    }
    public Optional isPrimary() {
        return Optional.ofNullable(this.isPrimary);
    }
    public Optional isSeletedForFailover() {
        return Optional.ofNullable(this.isSeletedForFailover);
    }
    public Optional name() {
        return Optional.ofNullable(this.name);
    }
    public Optional recoveryIPAddressType() {
        return Optional.ofNullable(this.recoveryIPAddressType);
    }
    public List recoveryLBBackendAddressPoolIds() {
        return this.recoveryLBBackendAddressPoolIds == null ? List.of() : this.recoveryLBBackendAddressPoolIds;
    }
    public Optional recoveryPublicIPAddressId() {
        return Optional.ofNullable(this.recoveryPublicIPAddressId);
    }
    public Optional recoveryStaticIPAddress() {
        return Optional.ofNullable(this.recoveryStaticIPAddress);
    }
    public Optional recoverySubnetName() {
        return Optional.ofNullable(this.recoverySubnetName);
    }
    public Optional staticIPAddress() {
        return Optional.ofNullable(this.staticIPAddress);
    }
    public Optional subnetName() {
        return Optional.ofNullable(this.subnetName);
    }
    public List tfoLBBackendAddressPoolIds() {
        return this.tfoLBBackendAddressPoolIds == null ? List.of() : this.tfoLBBackendAddressPoolIds;
    }
    public Optional tfoPublicIPAddressId() {
        return Optional.ofNullable(this.tfoPublicIPAddressId);
    }
    public Optional tfoStaticIPAddress() {
        return Optional.ofNullable(this.tfoStaticIPAddress);
    }
    public Optional tfoSubnetName() {
        return Optional.ofNullable(this.tfoSubnetName);
    }

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

    public static Builder builder(IPConfigDetailsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String ipAddressType;
        private @Nullable Boolean isPrimary;
        private @Nullable Boolean isSeletedForFailover;
        private @Nullable String name;
        private @Nullable String recoveryIPAddressType;
        private @Nullable List recoveryLBBackendAddressPoolIds;
        private @Nullable String recoveryPublicIPAddressId;
        private @Nullable String recoveryStaticIPAddress;
        private @Nullable String recoverySubnetName;
        private @Nullable String staticIPAddress;
        private @Nullable String subnetName;
        private @Nullable List tfoLBBackendAddressPoolIds;
        private @Nullable String tfoPublicIPAddressId;
        private @Nullable String tfoStaticIPAddress;
        private @Nullable String tfoSubnetName;
        public Builder() {}
        public Builder(IPConfigDetailsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.ipAddressType = defaults.ipAddressType;
    	      this.isPrimary = defaults.isPrimary;
    	      this.isSeletedForFailover = defaults.isSeletedForFailover;
    	      this.name = defaults.name;
    	      this.recoveryIPAddressType = defaults.recoveryIPAddressType;
    	      this.recoveryLBBackendAddressPoolIds = defaults.recoveryLBBackendAddressPoolIds;
    	      this.recoveryPublicIPAddressId = defaults.recoveryPublicIPAddressId;
    	      this.recoveryStaticIPAddress = defaults.recoveryStaticIPAddress;
    	      this.recoverySubnetName = defaults.recoverySubnetName;
    	      this.staticIPAddress = defaults.staticIPAddress;
    	      this.subnetName = defaults.subnetName;
    	      this.tfoLBBackendAddressPoolIds = defaults.tfoLBBackendAddressPoolIds;
    	      this.tfoPublicIPAddressId = defaults.tfoPublicIPAddressId;
    	      this.tfoStaticIPAddress = defaults.tfoStaticIPAddress;
    	      this.tfoSubnetName = defaults.tfoSubnetName;
        }

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

            this.ipAddressType = ipAddressType;
            return this;
        }
        @CustomType.Setter
        public Builder isPrimary(@Nullable Boolean isPrimary) {

            this.isPrimary = isPrimary;
            return this;
        }
        @CustomType.Setter
        public Builder isSeletedForFailover(@Nullable Boolean isSeletedForFailover) {

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

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

            this.recoveryIPAddressType = recoveryIPAddressType;
            return this;
        }
        @CustomType.Setter
        public Builder recoveryLBBackendAddressPoolIds(@Nullable List recoveryLBBackendAddressPoolIds) {

            this.recoveryLBBackendAddressPoolIds = recoveryLBBackendAddressPoolIds;
            return this;
        }
        public Builder recoveryLBBackendAddressPoolIds(String... recoveryLBBackendAddressPoolIds) {
            return recoveryLBBackendAddressPoolIds(List.of(recoveryLBBackendAddressPoolIds));
        }
        @CustomType.Setter
        public Builder recoveryPublicIPAddressId(@Nullable String recoveryPublicIPAddressId) {

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

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

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

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

            this.subnetName = subnetName;
            return this;
        }
        @CustomType.Setter
        public Builder tfoLBBackendAddressPoolIds(@Nullable List tfoLBBackendAddressPoolIds) {

            this.tfoLBBackendAddressPoolIds = tfoLBBackendAddressPoolIds;
            return this;
        }
        public Builder tfoLBBackendAddressPoolIds(String... tfoLBBackendAddressPoolIds) {
            return tfoLBBackendAddressPoolIds(List.of(tfoLBBackendAddressPoolIds));
        }
        @CustomType.Setter
        public Builder tfoPublicIPAddressId(@Nullable String tfoPublicIPAddressId) {

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

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

            this.tfoSubnetName = tfoSubnetName;
            return this;
        }
        public IPConfigDetailsResponse build() {
            final var _resultValue = new IPConfigDetailsResponse();
            _resultValue.ipAddressType = ipAddressType;
            _resultValue.isPrimary = isPrimary;
            _resultValue.isSeletedForFailover = isSeletedForFailover;
            _resultValue.name = name;
            _resultValue.recoveryIPAddressType = recoveryIPAddressType;
            _resultValue.recoveryLBBackendAddressPoolIds = recoveryLBBackendAddressPoolIds;
            _resultValue.recoveryPublicIPAddressId = recoveryPublicIPAddressId;
            _resultValue.recoveryStaticIPAddress = recoveryStaticIPAddress;
            _resultValue.recoverySubnetName = recoverySubnetName;
            _resultValue.staticIPAddress = staticIPAddress;
            _resultValue.subnetName = subnetName;
            _resultValue.tfoLBBackendAddressPoolIds = tfoLBBackendAddressPoolIds;
            _resultValue.tfoPublicIPAddressId = tfoPublicIPAddressId;
            _resultValue.tfoStaticIPAddress = tfoStaticIPAddress;
            _resultValue.tfoSubnetName = tfoSubnetName;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy