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.Builder
codeArtifacts
(Consumer<CodeArtifacts.Builder> codeArtifacts) ACodeArtifacts
object.codeArtifacts
(CodeArtifacts codeArtifacts) ACodeArtifacts
object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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
CodeArtifacts
object. TheCodeArtifacts
object 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
- ACodeArtifacts
object. TheCodeArtifacts
object 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 theCodeArtifacts
object. TheCodeArtifacts
object 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.Builder
avoiding the need to create one manually viaCodeArtifacts.builder()
.When the
Consumer
completes,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:
-