com.pulumi.aws.cloudtrail.inputs.GetServiceAccountPlainArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class GetServiceAccountPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetServiceAccountPlainArgs Empty = new GetServiceAccountPlainArgs();
/**
* 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 String 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 GetServiceAccountPlainArgs() {}
private GetServiceAccountPlainArgs(GetServiceAccountPlainArgs $) {
this.region = $.region;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetServiceAccountPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetServiceAccountPlainArgs $;
public Builder() {
$ = new GetServiceAccountPlainArgs();
}
public Builder(GetServiceAccountPlainArgs defaults) {
$ = new GetServiceAccountPlainArgs(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 String region) {
$.region = region;
return this;
}
public GetServiceAccountPlainArgs build() {
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy