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

com.pulumi.azurenative.awsconnector.outputs.TargetGroupTupleResponse 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.awsconnector.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class TargetGroupTupleResponse {
    /**
     * @return The Amazon Resource Name (ARN) of the target group.
     * 
     */
    private @Nullable String targetGroupArn;
    /**
     * @return The weight. The range is 0 to 999.
     * 
     */
    private @Nullable Integer weight;

    private TargetGroupTupleResponse() {}
    /**
     * @return The Amazon Resource Name (ARN) of the target group.
     * 
     */
    public Optional targetGroupArn() {
        return Optional.ofNullable(this.targetGroupArn);
    }
    /**
     * @return The weight. The range is 0 to 999.
     * 
     */
    public Optional weight() {
        return Optional.ofNullable(this.weight);
    }

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

    public static Builder builder(TargetGroupTupleResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String targetGroupArn;
        private @Nullable Integer weight;
        public Builder() {}
        public Builder(TargetGroupTupleResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.targetGroupArn = defaults.targetGroupArn;
    	      this.weight = defaults.weight;
        }

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

            this.targetGroupArn = targetGroupArn;
            return this;
        }
        @CustomType.Setter
        public Builder weight(@Nullable Integer weight) {

            this.weight = weight;
            return this;
        }
        public TargetGroupTupleResponse build() {
            final var _resultValue = new TargetGroupTupleResponse();
            _resultValue.targetGroupArn = targetGroupArn;
            _resultValue.weight = weight;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy