Interface ThreatModelJob.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ThreatModelJob.Builder,,ThreatModelJob> SdkBuilder<ThreatModelJob.Builder,,ThreatModelJob> SdkPojo
- Enclosing class:
ThreatModelJob
-
Method Summary
Modifier and TypeMethodDescriptionagentSpaceId(String agentSpaceId) The unique identifier of the agent space.The date and time the threat model job was created, in UTC format.documents(Collection<DocumentInfo> documents) The list of documents used for threat modeling.documents(Consumer<DocumentInfo.Builder>... documents) The list of documents used for threat modeling.documents(DocumentInfo... documents) The list of documents used for threat modeling.default ThreatModelJob.BuildererrorInformation(Consumer<ErrorInformation.Builder> errorInformation) Error information if the threat model job encountered an error.errorInformation(ErrorInformation errorInformation) Error information if the threat model job encountered an error.executionEndTime(Instant executionEndTime) The date and time the threat model job execution ended, in UTC format.executionStartTime(Instant executionStartTime) The date and time the threat model job execution started, in UTC format.integratedRepositories(Collection<IntegratedRepository> integratedRepositories) The list of integrated repositories used for threat modeling.integratedRepositories(Consumer<IntegratedRepository.Builder>... integratedRepositories) The list of integrated repositories used for threat modeling.integratedRepositories(IntegratedRepository... integratedRepositories) The list of integrated repositories used for threat modeling.scopeDocs(Collection<DocumentInfo> scopeDocs) The scoped documents for the agent to focus on during threat modeling.scopeDocs(Consumer<DocumentInfo.Builder>... scopeDocs) The scoped documents for the agent to focus on during threat modeling.scopeDocs(DocumentInfo... scopeDocs) The scoped documents for the agent to focus on during threat modeling.sourceCode(Collection<SourceCodeRepository> sourceCode) The list of source code repositories used for threat modeling.sourceCode(Consumer<SourceCodeRepository.Builder>... sourceCode) The list of source code repositories used for threat modeling.sourceCode(SourceCodeRepository... sourceCode) The list of source code repositories used for threat modeling.The current status of the threat model job.The current status of the threat model job.systemOverview(String systemOverview) The system overview generated during threat modeling.threatModelId(String threatModelId) The unique identifier of the threat model associated with the job.threatModelJobId(String threatModelJobId) The unique identifier of the threat model job.The title of the threat model job.The date and time the threat model job was last updated, in UTC format.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, sdkFields
-
Method Details
-
threatModelJobId
The unique identifier of the threat model job.
- Parameters:
threatModelJobId- The unique identifier of the threat model job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threatModelId
The unique identifier of the threat model associated with the job.
- Parameters:
threatModelId- The unique identifier of the threat model associated with the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentSpaceId
The unique identifier of the agent space.
- Parameters:
agentSpaceId- The unique identifier of the agent space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
The title of the threat model job.
- Parameters:
title- The title of the threat model job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the threat model job.
- Parameters:
status- The current status of the threat model job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the threat model job.
- Parameters:
status- The current status of the threat model job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The date and time the threat model job was created, in UTC format.
- Parameters:
createdAt- The date and time the threat model job was created, in UTC format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The date and time the threat model job was last updated, in UTC format.
- Parameters:
updatedAt- The date and time the threat model job was last updated, in UTC format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionStartTime
The date and time the threat model job execution started, in UTC format.
- Parameters:
executionStartTime- The date and time the threat model job execution started, in UTC format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionEndTime
The date and time the threat model job execution ended, in UTC format.
- Parameters:
executionEndTime- The date and time the threat model job execution ended, in UTC format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceCode
The list of source code repositories used for threat modeling.
- Parameters:
sourceCode- The list of source code repositories used for threat modeling.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceCode
The list of source code repositories used for threat modeling.
- Parameters:
sourceCode- The list of source code repositories used for threat modeling.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceCode
The list of source code repositories used for threat modeling.
This is a convenience method that creates an instance of theSourceCodeRepository.Builderavoiding the need to create one manually viaSourceCodeRepository.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceCode(List<SourceCodeRepository>).- Parameters:
sourceCode- a consumer that will call methods onSourceCodeRepository.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
integratedRepositories
ThreatModelJob.Builder integratedRepositories(Collection<IntegratedRepository> integratedRepositories) The list of integrated repositories used for threat modeling.
- Parameters:
integratedRepositories- The list of integrated repositories used for threat modeling.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
integratedRepositories
The list of integrated repositories used for threat modeling.
- Parameters:
integratedRepositories- The list of integrated repositories used for threat modeling.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
integratedRepositories
ThreatModelJob.Builder integratedRepositories(Consumer<IntegratedRepository.Builder>... integratedRepositories) The list of integrated repositories used for threat modeling.
This is a convenience method that creates an instance of theIntegratedRepository.Builderavoiding the need to create one manually viaIntegratedRepository.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tointegratedRepositories(List<IntegratedRepository>).- Parameters:
integratedRepositories- a consumer that will call methods onIntegratedRepository.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
documents
The list of documents used for threat modeling.
- Parameters:
documents- The list of documents used for threat modeling.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documents
The list of documents used for threat modeling.
- Parameters:
documents- The list of documents used for threat modeling.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documents
The list of documents used for threat modeling.
This is a convenience method that creates an instance of theDocumentInfo.Builderavoiding the need to create one manually viaDocumentInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todocuments(List<DocumentInfo>).- Parameters:
documents- a consumer that will call methods onDocumentInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scopeDocs
The scoped documents for the agent to focus on during threat modeling.
- Parameters:
scopeDocs- The scoped documents for the agent to focus on during threat modeling.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopeDocs
The scoped documents for the agent to focus on during threat modeling.
- Parameters:
scopeDocs- The scoped documents for the agent to focus on during threat modeling.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopeDocs
The scoped documents for the agent to focus on during threat modeling.
This is a convenience method that creates an instance of theDocumentInfo.Builderavoiding the need to create one manually viaDocumentInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscopeDocs(List<DocumentInfo>).- Parameters:
scopeDocs- a consumer that will call methods onDocumentInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorInformation
Error information if the threat model job encountered an error.
- Parameters:
errorInformation- Error information if the threat model job encountered an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorInformation
default ThreatModelJob.Builder errorInformation(Consumer<ErrorInformation.Builder> errorInformation) Error information if the threat model job encountered an error.
This is a convenience method that creates an instance of theErrorInformation.Builderavoiding the need to create one manually viaErrorInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrorInformation(ErrorInformation).- Parameters:
errorInformation- a consumer that will call methods onErrorInformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
systemOverview
The system overview generated during threat modeling.
- Parameters:
systemOverview- The system overview generated during threat modeling.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-