Modifier and Type | Method and Description |
---|---|
CfnIPSet.Builder |
activate(java.lang.Boolean activate)
Indicates whether or not uses the `IPSet` .
|
CfnIPSet.Builder |
activate(IResolvable activate)
Indicates whether or not uses the `IPSet` .
|
CfnIPSet |
build() |
static CfnIPSet.Builder |
create(Construct scope,
java.lang.String id) |
CfnIPSet.Builder |
detectorId(java.lang.String detectorId)
The unique ID of the detector of the GuardDuty account that you want to create an IPSet for.
|
CfnIPSet.Builder |
format(java.lang.String format)
The format of the file that contains the IPSet.
|
CfnIPSet.Builder |
location(java.lang.String location)
The URI of the file that contains the IPSet.
|
CfnIPSet.Builder |
name(java.lang.String name)
The user-friendly name to identify the IPSet.
|
CfnIPSet.Builder |
tags(java.util.List<? extends CfnTag> tags)
The tags to be added to a new IP set resource.
|
public static CfnIPSet.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnIPSet.Builder
.public CfnIPSet.Builder activate(java.lang.Boolean activate)
activate
- Indicates whether or not uses the `IPSet` . This parameter is required.this
public CfnIPSet.Builder activate(IResolvable activate)
activate
- Indicates whether or not uses the `IPSet` . This parameter is required.this
public CfnIPSet.Builder detectorId(java.lang.String detectorId)
detectorId
- The unique ID of the detector of the GuardDuty account that you want to create an IPSet for. This parameter is required.this
public CfnIPSet.Builder format(java.lang.String format)
format
- The format of the file that contains the IPSet. This parameter is required.this
public CfnIPSet.Builder location(java.lang.String location)
location
- The URI of the file that contains the IPSet. This parameter is required.this
public CfnIPSet.Builder name(java.lang.String name)
Allowed characters are alphanumeric, whitespace, dash (-), and underscores (_).
name
- The user-friendly name to identify the IPSet. This parameter is required.this
public CfnIPSet.Builder tags(java.util.List<? extends CfnTag> tags)
Each tag consists of a key and an optional value, both of which you define.
For more information, see Tag .
tags
- The tags to be added to a new IP set resource. This parameter is required.this
public CfnIPSet build()