
com.pulumi.azurenative.awsconnector.outputs.GranteeResponse 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.azurenative.awsconnector.outputs;
import com.pulumi.azurenative.awsconnector.outputs.TypeEnumValueResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GranteeResponse {
/**
* @return <p>Screen name of the grantee.</p>
*
*/
private @Nullable String displayName;
/**
* @return <p>Email address of the grantee.</p> <note> <p>Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions: </p> <ul> <li> <p>US East (N. Virginia)</p> </li> <li> <p>US West (N. California)</p> </li> <li> <p> US West (Oregon)</p> </li> <li> <p> Asia Pacific (Singapore)</p> </li> <li> <p>Asia Pacific (Sydney)</p> </li> <li> <p>Asia Pacific (Tokyo)</p> </li> <li> <p>Europe (Ireland)</p> </li> <li> <p>South America (São Paulo)</p> </li> </ul> <p>For a list of all the Amazon S3 supported Regions and endpoints, see <a href='https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region'>Regions and Endpoints</a> in the Amazon Web Services General Reference.</p> </note>
*
*/
private @Nullable String emailAddress;
/**
* @return <p>The canonical user ID of the grantee.</p>
*
*/
private @Nullable String id;
/**
* @return <p>Type of grantee</p>
*
*/
private @Nullable TypeEnumValueResponse type;
/**
* @return <p>URI of the grantee group.</p>
*
*/
private @Nullable String uri;
private GranteeResponse() {}
/**
* @return <p>Screen name of the grantee.</p>
*
*/
public Optional displayName() {
return Optional.ofNullable(this.displayName);
}
/**
* @return <p>Email address of the grantee.</p> <note> <p>Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions: </p> <ul> <li> <p>US East (N. Virginia)</p> </li> <li> <p>US West (N. California)</p> </li> <li> <p> US West (Oregon)</p> </li> <li> <p> Asia Pacific (Singapore)</p> </li> <li> <p>Asia Pacific (Sydney)</p> </li> <li> <p>Asia Pacific (Tokyo)</p> </li> <li> <p>Europe (Ireland)</p> </li> <li> <p>South America (São Paulo)</p> </li> </ul> <p>For a list of all the Amazon S3 supported Regions and endpoints, see <a href='https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region'>Regions and Endpoints</a> in the Amazon Web Services General Reference.</p> </note>
*
*/
public Optional emailAddress() {
return Optional.ofNullable(this.emailAddress);
}
/**
* @return <p>The canonical user ID of the grantee.</p>
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return <p>Type of grantee</p>
*
*/
public Optional type() {
return Optional.ofNullable(this.type);
}
/**
* @return <p>URI of the grantee group.</p>
*
*/
public Optional uri() {
return Optional.ofNullable(this.uri);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GranteeResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String displayName;
private @Nullable String emailAddress;
private @Nullable String id;
private @Nullable TypeEnumValueResponse type;
private @Nullable String uri;
public Builder() {}
public Builder(GranteeResponse defaults) {
Objects.requireNonNull(defaults);
this.displayName = defaults.displayName;
this.emailAddress = defaults.emailAddress;
this.id = defaults.id;
this.type = defaults.type;
this.uri = defaults.uri;
}
@CustomType.Setter
public Builder displayName(@Nullable String displayName) {
this.displayName = displayName;
return this;
}
@CustomType.Setter
public Builder emailAddress(@Nullable String emailAddress) {
this.emailAddress = emailAddress;
return this;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder type(@Nullable TypeEnumValueResponse type) {
this.type = type;
return this;
}
@CustomType.Setter
public Builder uri(@Nullable String uri) {
this.uri = uri;
return this;
}
public GranteeResponse build() {
final var _resultValue = new GranteeResponse();
_resultValue.displayName = displayName;
_resultValue.emailAddress = emailAddress;
_resultValue.id = id;
_resultValue.type = type;
_resultValue.uri = uri;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy