Interface ListCodeSecurityIntegrationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCodeSecurityIntegrationsResponse.Builder,,ListCodeSecurityIntegrationsResponse> Inspector2Response.Builder,SdkBuilder<ListCodeSecurityIntegrationsResponse.Builder,,ListCodeSecurityIntegrationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListCodeSecurityIntegrationsResponse
@Mutable
@NotThreadSafe
public static interface ListCodeSecurityIntegrationsResponse.Builder
extends Inspector2Response.Builder, SdkPojo, CopyableBuilder<ListCodeSecurityIntegrationsResponse.Builder,ListCodeSecurityIntegrationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionintegrations(Collection<CodeSecurityIntegrationSummary> integrations) A list of code security integration summaries.integrations(Consumer<CodeSecurityIntegrationSummary.Builder>... integrations) A list of code security integration summaries.integrations(CodeSecurityIntegrationSummary... integrations) A list of code security integration summaries.A token to use for paginating results that are returned in the response.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
integrations
ListCodeSecurityIntegrationsResponse.Builder integrations(Collection<CodeSecurityIntegrationSummary> integrations) A list of code security integration summaries.
- Parameters:
integrations- A list of code security integration summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
integrations
ListCodeSecurityIntegrationsResponse.Builder integrations(CodeSecurityIntegrationSummary... integrations) A list of code security integration summaries.
- Parameters:
integrations- A list of code security integration summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
integrations
ListCodeSecurityIntegrationsResponse.Builder integrations(Consumer<CodeSecurityIntegrationSummary.Builder>... integrations) A list of code security integration summaries.
This is a convenience method that creates an instance of theCodeSecurityIntegrationSummary.Builderavoiding the need to create one manually viaCodeSecurityIntegrationSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tointegrations(List<CodeSecurityIntegrationSummary>).- Parameters:
integrations- a consumer that will call methods onCodeSecurityIntegrationSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.
- Parameters:
nextToken- A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-