com.pulumi.aws.codegurureviewer.outputs.RepositoryAssociationRepositoryS3Bucket 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.codegurureviewer.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class RepositoryAssociationRepositoryS3Bucket {
/**
* @return The name of the S3 bucket used for associating a new S3 repository. Note: The name must begin with `codeguru-reviewer-`.
*
*/
private String bucketName;
/**
* @return The name of the repository in the S3 bucket.
*
*/
private String name;
private RepositoryAssociationRepositoryS3Bucket() {}
/**
* @return The name of the S3 bucket used for associating a new S3 repository. Note: The name must begin with `codeguru-reviewer-`.
*
*/
public String bucketName() {
return this.bucketName;
}
/**
* @return The name of the repository in the S3 bucket.
*
*/
public String name() {
return this.name;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RepositoryAssociationRepositoryS3Bucket defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String bucketName;
private String name;
public Builder() {}
public Builder(RepositoryAssociationRepositoryS3Bucket defaults) {
Objects.requireNonNull(defaults);
this.bucketName = defaults.bucketName;
this.name = defaults.name;
}
@CustomType.Setter
public Builder bucketName(String bucketName) {
if (bucketName == null) {
throw new MissingRequiredPropertyException("RepositoryAssociationRepositoryS3Bucket", "bucketName");
}
this.bucketName = bucketName;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("RepositoryAssociationRepositoryS3Bucket", "name");
}
this.name = name;
return this;
}
public RepositoryAssociationRepositoryS3Bucket build() {
final var _resultValue = new RepositoryAssociationRepositoryS3Bucket();
_resultValue.bucketName = bucketName;
_resultValue.name = name;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy