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

com.pulumi.azurenative.network.outputs.IntentContentResponse Maven / Gradle / Ivy

There is a newer version: 2.82.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.network.outputs;

import com.pulumi.azurenative.network.outputs.IPTrafficResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class IntentContentResponse {
    private @Nullable String description;
    /**
     * @return Destination resource id of the intent.
     * 
     */
    private String destinationResourceId;
    /**
     * @return IP traffic information.
     * 
     */
    private IPTrafficResponse ipTraffic;
    /**
     * @return Source resource id of the intent.
     * 
     */
    private String sourceResourceId;

    private IntentContentResponse() {}
    public Optional description() {
        return Optional.ofNullable(this.description);
    }
    /**
     * @return Destination resource id of the intent.
     * 
     */
    public String destinationResourceId() {
        return this.destinationResourceId;
    }
    /**
     * @return IP traffic information.
     * 
     */
    public IPTrafficResponse ipTraffic() {
        return this.ipTraffic;
    }
    /**
     * @return Source resource id of the intent.
     * 
     */
    public String sourceResourceId() {
        return this.sourceResourceId;
    }

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

    public static Builder builder(IntentContentResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String description;
        private String destinationResourceId;
        private IPTrafficResponse ipTraffic;
        private String sourceResourceId;
        public Builder() {}
        public Builder(IntentContentResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.description = defaults.description;
    	      this.destinationResourceId = defaults.destinationResourceId;
    	      this.ipTraffic = defaults.ipTraffic;
    	      this.sourceResourceId = defaults.sourceResourceId;
        }

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

            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder destinationResourceId(String destinationResourceId) {
            if (destinationResourceId == null) {
              throw new MissingRequiredPropertyException("IntentContentResponse", "destinationResourceId");
            }
            this.destinationResourceId = destinationResourceId;
            return this;
        }
        @CustomType.Setter
        public Builder ipTraffic(IPTrafficResponse ipTraffic) {
            if (ipTraffic == null) {
              throw new MissingRequiredPropertyException("IntentContentResponse", "ipTraffic");
            }
            this.ipTraffic = ipTraffic;
            return this;
        }
        @CustomType.Setter
        public Builder sourceResourceId(String sourceResourceId) {
            if (sourceResourceId == null) {
              throw new MissingRequiredPropertyException("IntentContentResponse", "sourceResourceId");
            }
            this.sourceResourceId = sourceResourceId;
            return this;
        }
        public IntentContentResponse build() {
            final var _resultValue = new IntentContentResponse();
            _resultValue.description = description;
            _resultValue.destinationResourceId = destinationResourceId;
            _resultValue.ipTraffic = ipTraffic;
            _resultValue.sourceResourceId = sourceResourceId;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy