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

com.pulumi.aws.cloudtrail.inputs.GetServiceAccountArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The 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.aws.cloudtrail.inputs;

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


public final class GetServiceAccountArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetServiceAccountArgs Empty = new GetServiceAccountArgs();

    /**
     * Name of the region whose AWS CloudTrail account ID is desired.
     * Defaults to the region from the AWS provider configuration.
     * 
     */
    @Import(name="region")
    private @Nullable Output region;

    /**
     * @return Name of the region whose AWS CloudTrail account ID is desired.
     * Defaults to the region from the AWS provider configuration.
     * 
     */
    public Optional> region() {
        return Optional.ofNullable(this.region);
    }

    private GetServiceAccountArgs() {}

    private GetServiceAccountArgs(GetServiceAccountArgs $) {
        this.region = $.region;
    }

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

    public static final class Builder {
        private GetServiceAccountArgs $;

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

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

        /**
         * @param region Name of the region whose AWS CloudTrail account ID is desired.
         * Defaults to the region from the AWS provider configuration.
         * 
         * @return builder
         * 
         */
        public Builder region(@Nullable Output region) {
            $.region = region;
            return this;
        }

        /**
         * @param region Name of the region whose AWS CloudTrail account ID is desired.
         * Defaults to the region from the AWS provider configuration.
         * 
         * @return builder
         * 
         */
        public Builder region(String region) {
            return region(Output.of(region));
        }

        public GetServiceAccountArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy