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

com.pulumi.aws.worklink.FleetArgs 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.aws.worklink;

import com.pulumi.aws.worklink.inputs.FleetIdentityProviderArgs;
import com.pulumi.aws.worklink.inputs.FleetNetworkArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class FleetArgs extends com.pulumi.resources.ResourceArgs {

    public static final FleetArgs Empty = new FleetArgs();

    /**
     * The ARN of the Amazon Kinesis data stream that receives the audit events. Kinesis data stream name must begin with `"AmazonWorkLink-"`.
     * 
     */
    @Import(name="auditStreamArn")
    private @Nullable Output auditStreamArn;

    /**
     * @return The ARN of the Amazon Kinesis data stream that receives the audit events. Kinesis data stream name must begin with `"AmazonWorkLink-"`.
     * 
     */
    public Optional> auditStreamArn() {
        return Optional.ofNullable(this.auditStreamArn);
    }

    /**
     * The certificate chain, including intermediate certificates and the root certificate authority certificate used to issue device certificates.
     * 
     */
    @Import(name="deviceCaCertificate")
    private @Nullable Output deviceCaCertificate;

    /**
     * @return The certificate chain, including intermediate certificates and the root certificate authority certificate used to issue device certificates.
     * 
     */
    public Optional> deviceCaCertificate() {
        return Optional.ofNullable(this.deviceCaCertificate);
    }

    /**
     * The name of the fleet.
     * 
     */
    @Import(name="displayName")
    private @Nullable Output displayName;

    /**
     * @return The name of the fleet.
     * 
     */
    public Optional> displayName() {
        return Optional.ofNullable(this.displayName);
    }

    /**
     * Provide this to allow manage the identity provider configuration for the fleet. Fields documented below.
     * 
     */
    @Import(name="identityProvider")
    private @Nullable Output identityProvider;

    /**
     * @return Provide this to allow manage the identity provider configuration for the fleet. Fields documented below.
     * 
     */
    public Optional> identityProvider() {
        return Optional.ofNullable(this.identityProvider);
    }

    /**
     * A region-unique name for the AMI.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return A region-unique name for the AMI.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Provide this to allow manage the company network configuration for the fleet. Fields documented below.
     * 
     */
    @Import(name="network")
    private @Nullable Output network;

    /**
     * @return Provide this to allow manage the company network configuration for the fleet. Fields documented below.
     * 
     */
    public Optional> network() {
        return Optional.ofNullable(this.network);
    }

    /**
     * The option to optimize for better performance by routing traffic through the closest AWS Region to users, which may be outside of your home Region. Defaults to `true`.
     * 
     * **network** requires the following:
     * 
     * > **NOTE:** `network` is cannot removed without force recreating.
     * 
     */
    @Import(name="optimizeForEndUserLocation")
    private @Nullable Output optimizeForEndUserLocation;

    /**
     * @return The option to optimize for better performance by routing traffic through the closest AWS Region to users, which may be outside of your home Region. Defaults to `true`.
     * 
     * **network** requires the following:
     * 
     * > **NOTE:** `network` is cannot removed without force recreating.
     * 
     */
    public Optional> optimizeForEndUserLocation() {
        return Optional.ofNullable(this.optimizeForEndUserLocation);
    }

    private FleetArgs() {}

    private FleetArgs(FleetArgs $) {
        this.auditStreamArn = $.auditStreamArn;
        this.deviceCaCertificate = $.deviceCaCertificate;
        this.displayName = $.displayName;
        this.identityProvider = $.identityProvider;
        this.name = $.name;
        this.network = $.network;
        this.optimizeForEndUserLocation = $.optimizeForEndUserLocation;
    }

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

    public static final class Builder {
        private FleetArgs $;

        public Builder() {
            $ = new FleetArgs();
        }

        public Builder(FleetArgs defaults) {
            $ = new FleetArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param auditStreamArn The ARN of the Amazon Kinesis data stream that receives the audit events. Kinesis data stream name must begin with `"AmazonWorkLink-"`.
         * 
         * @return builder
         * 
         */
        public Builder auditStreamArn(@Nullable Output auditStreamArn) {
            $.auditStreamArn = auditStreamArn;
            return this;
        }

        /**
         * @param auditStreamArn The ARN of the Amazon Kinesis data stream that receives the audit events. Kinesis data stream name must begin with `"AmazonWorkLink-"`.
         * 
         * @return builder
         * 
         */
        public Builder auditStreamArn(String auditStreamArn) {
            return auditStreamArn(Output.of(auditStreamArn));
        }

        /**
         * @param deviceCaCertificate The certificate chain, including intermediate certificates and the root certificate authority certificate used to issue device certificates.
         * 
         * @return builder
         * 
         */
        public Builder deviceCaCertificate(@Nullable Output deviceCaCertificate) {
            $.deviceCaCertificate = deviceCaCertificate;
            return this;
        }

        /**
         * @param deviceCaCertificate The certificate chain, including intermediate certificates and the root certificate authority certificate used to issue device certificates.
         * 
         * @return builder
         * 
         */
        public Builder deviceCaCertificate(String deviceCaCertificate) {
            return deviceCaCertificate(Output.of(deviceCaCertificate));
        }

        /**
         * @param displayName The name of the fleet.
         * 
         * @return builder
         * 
         */
        public Builder displayName(@Nullable Output displayName) {
            $.displayName = displayName;
            return this;
        }

        /**
         * @param displayName The name of the fleet.
         * 
         * @return builder
         * 
         */
        public Builder displayName(String displayName) {
            return displayName(Output.of(displayName));
        }

        /**
         * @param identityProvider Provide this to allow manage the identity provider configuration for the fleet. Fields documented below.
         * 
         * @return builder
         * 
         */
        public Builder identityProvider(@Nullable Output identityProvider) {
            $.identityProvider = identityProvider;
            return this;
        }

        /**
         * @param identityProvider Provide this to allow manage the identity provider configuration for the fleet. Fields documented below.
         * 
         * @return builder
         * 
         */
        public Builder identityProvider(FleetIdentityProviderArgs identityProvider) {
            return identityProvider(Output.of(identityProvider));
        }

        /**
         * @param name A region-unique name for the AMI.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name A region-unique name for the AMI.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param network Provide this to allow manage the company network configuration for the fleet. Fields documented below.
         * 
         * @return builder
         * 
         */
        public Builder network(@Nullable Output network) {
            $.network = network;
            return this;
        }

        /**
         * @param network Provide this to allow manage the company network configuration for the fleet. Fields documented below.
         * 
         * @return builder
         * 
         */
        public Builder network(FleetNetworkArgs network) {
            return network(Output.of(network));
        }

        /**
         * @param optimizeForEndUserLocation The option to optimize for better performance by routing traffic through the closest AWS Region to users, which may be outside of your home Region. Defaults to `true`.
         * 
         * **network** requires the following:
         * 
         * > **NOTE:** `network` is cannot removed without force recreating.
         * 
         * @return builder
         * 
         */
        public Builder optimizeForEndUserLocation(@Nullable Output optimizeForEndUserLocation) {
            $.optimizeForEndUserLocation = optimizeForEndUserLocation;
            return this;
        }

        /**
         * @param optimizeForEndUserLocation The option to optimize for better performance by routing traffic through the closest AWS Region to users, which may be outside of your home Region. Defaults to `true`.
         * 
         * **network** requires the following:
         * 
         * > **NOTE:** `network` is cannot removed without force recreating.
         * 
         * @return builder
         * 
         */
        public Builder optimizeForEndUserLocation(Boolean optimizeForEndUserLocation) {
            return optimizeForEndUserLocation(Output.of(optimizeForEndUserLocation));
        }

        public FleetArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy