Interface IntegratedResource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IntegratedResource.Builder,,IntegratedResource> SdkBuilder<IntegratedResource.Builder,,IntegratedResource> SdkPojo
- Enclosing class:
IntegratedResource
@Mutable
@NotThreadSafe
public static interface IntegratedResource.Builder
extends SdkPojo, CopyableBuilder<IntegratedResource.Builder,IntegratedResource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault IntegratedResource.BuilderbitbucketRepository(Consumer<BitbucketRepositoryResource.Builder> bitbucketRepository) Sets the value of the BitbucketRepository property for this object.bitbucketRepository(BitbucketRepositoryResource bitbucketRepository) Sets the value of the BitbucketRepository property for this object.default IntegratedResource.BuilderconfluenceDocument(Consumer<ConfluenceDocumentResource.Builder> confluenceDocument) Sets the value of the ConfluenceDocument property for this object.confluenceDocument(ConfluenceDocumentResource confluenceDocument) Sets the value of the ConfluenceDocument property for this object.default IntegratedResource.BuildergithubRepository(Consumer<GitHubRepositoryResource.Builder> githubRepository) The GitHub repository resource information.githubRepository(GitHubRepositoryResource githubRepository) The GitHub repository resource information.default IntegratedResource.BuildergitlabRepository(Consumer<GitLabRepositoryResource.Builder> gitlabRepository) Sets the value of the GitlabRepository property for this object.gitlabRepository(GitLabRepositoryResource gitlabRepository) Sets the value of the GitlabRepository property for this object.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, sdkFieldNameToField, sdkFields
-
Method Details
-
githubRepository
The GitHub repository resource information.
- Parameters:
githubRepository- The GitHub repository resource information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
githubRepository
default IntegratedResource.Builder githubRepository(Consumer<GitHubRepositoryResource.Builder> githubRepository) The GitHub repository resource information.
This is a convenience method that creates an instance of theGitHubRepositoryResource.Builderavoiding the need to create one manually viaGitHubRepositoryResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togithubRepository(GitHubRepositoryResource).- Parameters:
githubRepository- a consumer that will call methods onGitHubRepositoryResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gitlabRepository
Sets the value of the GitlabRepository property for this object.- Parameters:
gitlabRepository- The new value for the GitlabRepository property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gitlabRepository
default IntegratedResource.Builder gitlabRepository(Consumer<GitLabRepositoryResource.Builder> gitlabRepository) Sets the value of the GitlabRepository property for this object. This is a convenience method that creates an instance of theGitLabRepositoryResource.Builderavoiding the need to create one manually viaGitLabRepositoryResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togitlabRepository(GitLabRepositoryResource).- Parameters:
gitlabRepository- a consumer that will call methods onGitLabRepositoryResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bitbucketRepository
Sets the value of the BitbucketRepository property for this object.- Parameters:
bitbucketRepository- The new value for the BitbucketRepository property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bitbucketRepository
default IntegratedResource.Builder bitbucketRepository(Consumer<BitbucketRepositoryResource.Builder> bitbucketRepository) Sets the value of the BitbucketRepository property for this object. This is a convenience method that creates an instance of theBitbucketRepositoryResource.Builderavoiding the need to create one manually viaBitbucketRepositoryResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobitbucketRepository(BitbucketRepositoryResource).- Parameters:
bitbucketRepository- a consumer that will call methods onBitbucketRepositoryResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
confluenceDocument
Sets the value of the ConfluenceDocument property for this object.- Parameters:
confluenceDocument- The new value for the ConfluenceDocument property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
confluenceDocument
default IntegratedResource.Builder confluenceDocument(Consumer<ConfluenceDocumentResource.Builder> confluenceDocument) Sets the value of the ConfluenceDocument property for this object. This is a convenience method that creates an instance of theConfluenceDocumentResource.Builderavoiding the need to create one manually viaConfluenceDocumentResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfluenceDocument(ConfluenceDocumentResource).- Parameters:
confluenceDocument- a consumer that will call methods onConfluenceDocumentResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-