Class PentestReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.securityagent.PentestReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PentestReference>
- Enclosing interface:
PentestReference
@Stability(Stable)
public static final class PentestReference.Builder
extends Object
implements software.amazon.jsii.Builder<PentestReference>
A builder for
PentestReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagentSpaceId(String agentSpaceId) Sets the value ofPentestReference.getAgentSpaceId()build()Builds the configured instance.Sets the value ofPentestReference.getPentestId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agentSpaceId
Sets the value ofPentestReference.getAgentSpaceId()- Parameters:
agentSpaceId- The AgentSpaceId of the Pentest resource. This parameter is required.- Returns:
this
-
pentestId
Sets the value ofPentestReference.getPentestId()- Parameters:
pentestId- The PentestId of the Pentest resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PentestReference>- Returns:
- a new instance of
PentestReference - Throws:
NullPointerException- if any required attribute was not provided
-