Class CfnMonitorProps.Builder
java.lang.Object
software.amazon.awscdk.services.deadline.CfnMonitorProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMonitorProps>
- Enclosing interface:
CfnMonitorProps
@Stability(Stable)
public static final class CfnMonitorProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMonitorProps>
A builder for
CfnMonitorProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.displayName
(String displayName) Sets the value ofCfnMonitorProps.getDisplayName()
identityCenterInstanceArn
(String identityCenterInstanceArn) Sets the value ofCfnMonitorProps.getIdentityCenterInstanceArn()
Sets the value ofCfnMonitorProps.getRoleArn()
Sets the value ofCfnMonitorProps.getSubdomain()
Sets the value ofCfnMonitorProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
displayName
Sets the value ofCfnMonitorProps.getDisplayName()
- Parameters:
displayName
- The name of the monitor that displays on the Deadline Cloud console. This parameter is required.This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Returns:
this
-
identityCenterInstanceArn
@Stability(Stable) public CfnMonitorProps.Builder identityCenterInstanceArn(String identityCenterInstanceArn) Sets the value ofCfnMonitorProps.getIdentityCenterInstanceArn()
- Parameters:
identityCenterInstanceArn
- The Amazon Resource Name (ARN) of the IAM Identity Center instance responsible for authenticating monitor users. This parameter is required.- Returns:
this
-
roleArn
Sets the value ofCfnMonitorProps.getRoleArn()
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the IAM role for the monitor. This parameter is required. Users of the monitor use this role to access Deadline Cloud resources.- Returns:
this
-
subdomain
Sets the value ofCfnMonitorProps.getSubdomain()
- Parameters:
subdomain
- The subdomain used for the monitor URL. This parameter is required. The full URL of the monitor is subdomain.Region.deadlinecloud.amazonaws.com.- Returns:
this
-
tags
Sets the value ofCfnMonitorProps.getTags()
- Parameters:
tags
- An array of key-value pairs to apply to this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMonitorProps>
- Returns:
- a new instance of
CfnMonitorProps
- Throws:
NullPointerException
- if any required attribute was not provided
-