Class CfnAccessPolicy.AccessPolicyResourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotsitewise.CfnAccessPolicy.AccessPolicyResourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAccessPolicy.AccessPolicyResourceProperty>
- Enclosing interface:
CfnAccessPolicy.AccessPolicyResourceProperty
@Stability(Stable)
public static final class CfnAccessPolicy.AccessPolicyResourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAccessPolicy.AccessPolicyResourceProperty>
A builder for
CfnAccessPolicy.AccessPolicyResourceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.portal
(IResolvable portal) Sets the value ofCfnAccessPolicy.AccessPolicyResourceProperty.getPortal()
portal
(CfnAccessPolicy.PortalProperty portal) Sets the value ofCfnAccessPolicy.AccessPolicyResourceProperty.getPortal()
project
(IResolvable project) Sets the value ofCfnAccessPolicy.AccessPolicyResourceProperty.getProject()
project
(CfnAccessPolicy.ProjectProperty project) Sets the value ofCfnAccessPolicy.AccessPolicyResourceProperty.getProject()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
portal
@Stability(Stable) public CfnAccessPolicy.AccessPolicyResourceProperty.Builder portal(IResolvable portal) Sets the value ofCfnAccessPolicy.AccessPolicyResourceProperty.getPortal()
- Parameters:
portal
- Identifies an AWS IoT SiteWise Monitor portal.- Returns:
this
-
portal
@Stability(Stable) public CfnAccessPolicy.AccessPolicyResourceProperty.Builder portal(CfnAccessPolicy.PortalProperty portal) Sets the value ofCfnAccessPolicy.AccessPolicyResourceProperty.getPortal()
- Parameters:
portal
- Identifies an AWS IoT SiteWise Monitor portal.- Returns:
this
-
project
@Stability(Stable) public CfnAccessPolicy.AccessPolicyResourceProperty.Builder project(IResolvable project) Sets the value ofCfnAccessPolicy.AccessPolicyResourceProperty.getProject()
- Parameters:
project
- Identifies a specific AWS IoT SiteWise Monitor project.- Returns:
this
-
project
@Stability(Stable) public CfnAccessPolicy.AccessPolicyResourceProperty.Builder project(CfnAccessPolicy.ProjectProperty project) Sets the value ofCfnAccessPolicy.AccessPolicyResourceProperty.getProject()
- Parameters:
project
- Identifies a specific AWS IoT SiteWise Monitor project.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAccessPolicy.AccessPolicyResourceProperty>
- Returns:
- a new instance of
CfnAccessPolicy.AccessPolicyResourceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-