Interface IntegratedResourceMetadata.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IntegratedResourceMetadata.Builder,,IntegratedResourceMetadata> SdkBuilder<IntegratedResourceMetadata.Builder,,IntegratedResourceMetadata> SdkPojo
- Enclosing class:
IntegratedResourceMetadata
@Mutable
@NotThreadSafe
public static interface IntegratedResourceMetadata.Builder
extends SdkPojo, CopyableBuilder<IntegratedResourceMetadata.Builder,IntegratedResourceMetadata>
-
Method Summary
Modifier and TypeMethodDescriptiongithubRepository(Consumer<GitHubRepositoryMetadata.Builder> githubRepository) The GitHub repository metadata.githubRepository(GitHubRepositoryMetadata githubRepository) The GitHub repository metadata.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 metadata.
- Parameters:
githubRepository- The GitHub repository metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
githubRepository
default IntegratedResourceMetadata.Builder githubRepository(Consumer<GitHubRepositoryMetadata.Builder> githubRepository) The GitHub repository metadata.
This is a convenience method that creates an instance of theGitHubRepositoryMetadata.Builderavoiding the need to create one manually viaGitHubRepositoryMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togithubRepository(GitHubRepositoryMetadata).- Parameters:
githubRepository- a consumer that will call methods onGitHubRepositoryMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-