Interface CreateIntegrationDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CreateIntegrationDetail.Builder,
,CreateIntegrationDetail> SdkBuilder<CreateIntegrationDetail.Builder,
,CreateIntegrationDetail> SdkPojo
- Enclosing class:
CreateIntegrationDetail
@Mutable
@NotThreadSafe
public static interface CreateIntegrationDetail.Builder
extends SdkPojo, CopyableBuilder<CreateIntegrationDetail.Builder,CreateIntegrationDetail>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateIntegrationDetail.Builder
gitlabSelfManaged
(Consumer<CreateGitLabSelfManagedIntegrationDetail.Builder> gitlabSelfManaged) Details specific to creating an integration with a self-managed GitLab instance.gitlabSelfManaged
(CreateGitLabSelfManagedIntegrationDetail gitlabSelfManaged) Details specific to creating an integration with a self-managed GitLab instance.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, sdkFieldNameToField, sdkFields
-
Method Details
-
gitlabSelfManaged
CreateIntegrationDetail.Builder gitlabSelfManaged(CreateGitLabSelfManagedIntegrationDetail gitlabSelfManaged) Details specific to creating an integration with a self-managed GitLab instance.
- Parameters:
gitlabSelfManaged
- Details specific to creating an integration with a self-managed GitLab instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gitlabSelfManaged
default CreateIntegrationDetail.Builder gitlabSelfManaged(Consumer<CreateGitLabSelfManagedIntegrationDetail.Builder> gitlabSelfManaged) Details specific to creating an integration with a self-managed GitLab instance.
This is a convenience method that creates an instance of theCreateGitLabSelfManagedIntegrationDetail.Builder
avoiding the need to create one manually viaCreateGitLabSelfManagedIntegrationDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togitlabSelfManaged(CreateGitLabSelfManagedIntegrationDetail)
.- Parameters:
gitlabSelfManaged
- a consumer that will call methods onCreateGitLabSelfManagedIntegrationDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-