Class CfnTrustedEntitySetProps.Builder
java.lang.Object
software.amazon.awscdk.services.guardduty.CfnTrustedEntitySetProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTrustedEntitySetProps>
- Enclosing interface:
CfnTrustedEntitySetProps
@Stability(Stable)
public static final class CfnTrustedEntitySetProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTrustedEntitySetProps>
A builder for
CfnTrustedEntitySetProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnTrustedEntitySetProps.getActivate()
activate
(IResolvable activate) Sets the value ofCfnTrustedEntitySetProps.getActivate()
build()
Builds the configured instance.detectorId
(String detectorId) Sets the value ofCfnTrustedEntitySetProps.getDetectorId()
expectedBucketOwner
(String expectedBucketOwner) Sets the value ofCfnTrustedEntitySetProps.getExpectedBucketOwner()
Sets the value ofCfnTrustedEntitySetProps.getFormat()
Sets the value ofCfnTrustedEntitySetProps.getLocation()
Sets the value ofCfnTrustedEntitySetProps.getName()
tags
(List<? extends CfnTrustedEntitySet.TagItemProperty> tags) Sets the value ofCfnTrustedEntitySetProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
format
Sets the value ofCfnTrustedEntitySetProps.getFormat()
- Parameters:
format
- the value to be set. This parameter is required.- Returns:
this
-
location
Sets the value ofCfnTrustedEntitySetProps.getLocation()
- Parameters:
location
- the value to be set. This parameter is required.- Returns:
this
-
activate
Sets the value ofCfnTrustedEntitySetProps.getActivate()
- Parameters:
activate
- the value to be set.- Returns:
this
-
activate
Sets the value ofCfnTrustedEntitySetProps.getActivate()
- Parameters:
activate
- the value to be set.- Returns:
this
-
detectorId
Sets the value ofCfnTrustedEntitySetProps.getDetectorId()
- Parameters:
detectorId
- the value to be set.- Returns:
this
-
expectedBucketOwner
@Stability(Stable) public CfnTrustedEntitySetProps.Builder expectedBucketOwner(String expectedBucketOwner) Sets the value ofCfnTrustedEntitySetProps.getExpectedBucketOwner()
- Parameters:
expectedBucketOwner
- the value to be set.- Returns:
this
-
name
Sets the value ofCfnTrustedEntitySetProps.getName()
- Parameters:
name
- the value to be set.- Returns:
this
-
tags
@Stability(Stable) public CfnTrustedEntitySetProps.Builder tags(List<? extends CfnTrustedEntitySet.TagItemProperty> tags) Sets the value ofCfnTrustedEntitySetProps.getTags()
- Parameters:
tags
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTrustedEntitySetProps>
- Returns:
- a new instance of
CfnTrustedEntitySetProps
- Throws:
NullPointerException
- if any required attribute was not provided
-