Interface S3RepositoryDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<S3RepositoryDetails.Builder,,S3RepositoryDetails> SdkBuilder<S3RepositoryDetails.Builder,,S3RepositoryDetails> SdkPojo
- Enclosing class:
S3RepositoryDetails
public static interface S3RepositoryDetails.Builder
extends SdkPojo, CopyableBuilder<S3RepositoryDetails.Builder,S3RepositoryDetails>
-
Method Summary
Modifier and TypeMethodDescriptionbucketName(String bucketName) The name of the S3 bucket used for associating a new S3 repository.default S3RepositoryDetails.BuildercodeArtifacts(Consumer<CodeArtifacts.Builder> codeArtifacts) ACodeArtifactsobject.codeArtifacts(CodeArtifacts codeArtifacts) ACodeArtifactsobject.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
bucketName
The name of the S3 bucket used for associating a new S3 repository. It must begin with
codeguru-reviewer-.- Parameters:
bucketName- The name of the S3 bucket used for associating a new S3 repository. It must begin withcodeguru-reviewer-.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeArtifacts
A
CodeArtifactsobject. TheCodeArtifactsobject includes the S3 object key for a source code .zip file and for a build artifacts .zip file that contains .jar or .class files.- Parameters:
codeArtifacts- ACodeArtifactsobject. TheCodeArtifactsobject includes the S3 object key for a source code .zip file and for a build artifacts .zip file that contains .jar or .class files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeArtifacts
A
This is a convenience method that creates an instance of theCodeArtifactsobject. TheCodeArtifactsobject includes the S3 object key for a source code .zip file and for a build artifacts .zip file that contains .jar or .class files.CodeArtifacts.Builderavoiding the need to create one manually viaCodeArtifacts.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocodeArtifacts(CodeArtifacts).- Parameters:
codeArtifacts- a consumer that will call methods onCodeArtifacts.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-