Class CfnPentest.CustomHeaderProperty.Builder
java.lang.Object
software.amazon.awscdk.services.securityagent.CfnPentest.CustomHeaderProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPentest.CustomHeaderProperty>
- Enclosing interface:
CfnPentest.CustomHeaderProperty
@Stability(Stable)
public static final class CfnPentest.CustomHeaderProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPentest.CustomHeaderProperty>
A builder for
CfnPentest.CustomHeaderProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPentest.CustomHeaderProperty.getName()Sets the value ofCfnPentest.CustomHeaderProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnPentest.CustomHeaderProperty.getName()- Parameters:
name- the value to be set.- Returns:
this
-
value
Sets the value ofCfnPentest.CustomHeaderProperty.getValue()- Parameters:
value- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPentest.CustomHeaderProperty>- Returns:
- a new instance of
CfnPentest.CustomHeaderProperty - Throws:
NullPointerException- if any required attribute was not provided
-