com.pulumi.aws.macie2.OrganizationAdminAccountArgs 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.macie2;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class OrganizationAdminAccountArgs extends com.pulumi.resources.ResourceArgs {
public static final OrganizationAdminAccountArgs Empty = new OrganizationAdminAccountArgs();
/**
* The AWS account ID for the account to designate as the delegated Amazon Macie administrator account for the organization.
*
*/
@Import(name="adminAccountId", required=true)
private Output adminAccountId;
/**
* @return The AWS account ID for the account to designate as the delegated Amazon Macie administrator account for the organization.
*
*/
public Output adminAccountId() {
return this.adminAccountId;
}
private OrganizationAdminAccountArgs() {}
private OrganizationAdminAccountArgs(OrganizationAdminAccountArgs $) {
this.adminAccountId = $.adminAccountId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(OrganizationAdminAccountArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private OrganizationAdminAccountArgs $;
public Builder() {
$ = new OrganizationAdminAccountArgs();
}
public Builder(OrganizationAdminAccountArgs defaults) {
$ = new OrganizationAdminAccountArgs(Objects.requireNonNull(defaults));
}
/**
* @param adminAccountId The AWS account ID for the account to designate as the delegated Amazon Macie administrator account for the organization.
*
* @return builder
*
*/
public Builder adminAccountId(Output adminAccountId) {
$.adminAccountId = adminAccountId;
return this;
}
/**
* @param adminAccountId The AWS account ID for the account to designate as the delegated Amazon Macie administrator account for the organization.
*
* @return builder
*
*/
public Builder adminAccountId(String adminAccountId) {
return adminAccountId(Output.of(adminAccountId));
}
public OrganizationAdminAccountArgs build() {
if ($.adminAccountId == null) {
throw new MissingRequiredPropertyException("OrganizationAdminAccountArgs", "adminAccountId");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy