Interface GetRepositoryTriggersResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CodeCommitResponse.Builder,- CopyableBuilder<GetRepositoryTriggersResponse.Builder,,- GetRepositoryTriggersResponse> - SdkBuilder<GetRepositoryTriggersResponse.Builder,,- GetRepositoryTriggersResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- GetRepositoryTriggersResponse
@Mutable
@NotThreadSafe
public static interface GetRepositoryTriggersResponse.Builder
extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<GetRepositoryTriggersResponse.Builder,GetRepositoryTriggersResponse> 
- 
Method SummaryModifier 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.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
configurationIdThe 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.
 
- 
triggersThe 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.
 
- 
triggersThe 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.
 
- 
triggersThe JSON block of configuration information for each trigger. This is a convenience method that creates an instance of theRepositoryTrigger.Builderavoiding the need to create one manually viaRepositoryTrigger.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totriggers(List<RepositoryTrigger>).- Parameters:
- triggers- a consumer that will call methods on- RepositoryTrigger.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-