com.pulumi.aws.cleanrooms.outputs.CollaborationMember 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.cleanrooms.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class CollaborationMember {
private String accountId;
private String displayName;
private List memberAbilities;
private @Nullable String status;
private CollaborationMember() {}
public String accountId() {
return this.accountId;
}
public String displayName() {
return this.displayName;
}
public List memberAbilities() {
return this.memberAbilities;
}
public Optional status() {
return Optional.ofNullable(this.status);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(CollaborationMember defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String accountId;
private String displayName;
private List memberAbilities;
private @Nullable String status;
public Builder() {}
public Builder(CollaborationMember defaults) {
Objects.requireNonNull(defaults);
this.accountId = defaults.accountId;
this.displayName = defaults.displayName;
this.memberAbilities = defaults.memberAbilities;
this.status = defaults.status;
}
@CustomType.Setter
public Builder accountId(String accountId) {
if (accountId == null) {
throw new MissingRequiredPropertyException("CollaborationMember", "accountId");
}
this.accountId = accountId;
return this;
}
@CustomType.Setter
public Builder displayName(String displayName) {
if (displayName == null) {
throw new MissingRequiredPropertyException("CollaborationMember", "displayName");
}
this.displayName = displayName;
return this;
}
@CustomType.Setter
public Builder memberAbilities(List memberAbilities) {
if (memberAbilities == null) {
throw new MissingRequiredPropertyException("CollaborationMember", "memberAbilities");
}
this.memberAbilities = memberAbilities;
return this;
}
public Builder memberAbilities(String... memberAbilities) {
return memberAbilities(List.of(memberAbilities));
}
@CustomType.Setter
public Builder status(@Nullable String status) {
this.status = status;
return this;
}
public CollaborationMember build() {
final var _resultValue = new CollaborationMember();
_resultValue.accountId = accountId;
_resultValue.displayName = displayName;
_resultValue.memberAbilities = memberAbilities;
_resultValue.status = status;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy