Class ProtectionGroupReference.Builder
java.lang.Object
software.amazon.awscdk.services.shield.ProtectionGroupReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ProtectionGroupReference>
- Enclosing interface:
ProtectionGroupReference
@Stability(Stable)
public static final class ProtectionGroupReference.Builder
extends Object
implements software.amazon.jsii.Builder<ProtectionGroupReference>
A builder for
ProtectionGroupReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.protectionGroupArn
(String protectionGroupArn) Sets the value ofProtectionGroupReference.getProtectionGroupArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
protectionGroupArn
@Stability(Stable) public ProtectionGroupReference.Builder protectionGroupArn(String protectionGroupArn) Sets the value ofProtectionGroupReference.getProtectionGroupArn()
- Parameters:
protectionGroupArn
- The ProtectionGroupArn of the ProtectionGroup resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ProtectionGroupReference>
- Returns:
- a new instance of
ProtectionGroupReference
- Throws:
NullPointerException
- if any required attribute was not provided
-