Interface BatchGetThreatModelsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetThreatModelsResponse.Builder,,BatchGetThreatModelsResponse> SdkBuilder<BatchGetThreatModelsResponse.Builder,,BatchGetThreatModelsResponse> SdkPojo,SdkResponse.Builder,SecurityAgentResponse.Builder
- Enclosing class:
BatchGetThreatModelsResponse
@Mutable
@NotThreadSafe
public static interface BatchGetThreatModelsResponse.Builder
extends SecurityAgentResponse.Builder, SdkPojo, CopyableBuilder<BatchGetThreatModelsResponse.Builder,BatchGetThreatModelsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe list of threat model identifiers that were not found.notFound(Collection<String> notFound) The list of threat model identifiers that were not found.threatModels(Collection<ThreatModel> threatModels) The list of threat models that were found.threatModels(Consumer<ThreatModel.Builder>... threatModels) The list of threat models that were found.threatModels(ThreatModel... threatModels) The list of threat models that were found.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.securityagent.model.SecurityAgentResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
threatModels
The list of threat models that were found.
- Parameters:
threatModels- The list of threat models that were found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threatModels
The list of threat models that were found.
- Parameters:
threatModels- The list of threat models that were found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threatModels
The list of threat models that were found.
This is a convenience method that creates an instance of theThreatModel.Builderavoiding the need to create one manually viaThreatModel.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tothreatModels(List<ThreatModel>).- Parameters:
threatModels- a consumer that will call methods onThreatModel.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
notFound
The list of threat model identifiers that were not found.
- Parameters:
notFound- The list of threat model identifiers that were not found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notFound
The list of threat model identifiers that were not found.
- Parameters:
notFound- The list of threat model identifiers that were not found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-