Interface GetRepositoryTriggersResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeCommitResponse.Builder
,CopyableBuilder<GetRepositoryTriggersResponse.Builder,
,GetRepositoryTriggersResponse> SdkBuilder<GetRepositoryTriggersResponse.Builder,
,GetRepositoryTriggersResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetRepositoryTriggersResponse
public static interface GetRepositoryTriggersResponse.Builder
extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<GetRepositoryTriggersResponse.Builder,GetRepositoryTriggersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconfigurationId
(String configurationId) The system-generated unique ID for the trigger.triggers
(Collection<RepositoryTrigger> triggers) The JSON block of configuration information for each trigger.triggers
(Consumer<RepositoryTrigger.Builder>... triggers) The JSON block of configuration information for each trigger.triggers
(RepositoryTrigger... triggers) The JSON block of configuration information for each trigger.Methods inherited from interface software.amazon.awssdk.services.codecommit.model.CodeCommitResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
configurationId
The system-generated unique ID for the trigger.
- Parameters:
configurationId
- The system-generated unique ID for the trigger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggers
The JSON block of configuration information for each trigger.
- Parameters:
triggers
- The JSON block of configuration information for each trigger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggers
The JSON block of configuration information for each trigger.
- Parameters:
triggers
- The JSON block of configuration information for each trigger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggers
The JSON block of configuration information for each trigger.
This is a convenience method that creates an instance of theRepositoryTrigger.Builder
avoiding the need to create one manually viaRepositoryTrigger.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totriggers(List<RepositoryTrigger>)
.- Parameters:
triggers
- a consumer that will call methods onRepositoryTrigger.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-