Class CfnDetector.LabelProperty.Builder

java.lang.Object
software.amazon.awscdk.services.frauddetector.CfnDetector.LabelProperty.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDetector.LabelProperty>
Enclosing interface:
CfnDetector.LabelProperty

@Stability(Stable) public static final class CfnDetector.LabelProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDetector.LabelProperty>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • arn

      @Stability(Stable) public CfnDetector.LabelProperty.Builder arn(String arn)
      Parameters:
      arn - The label ARN.
      Returns:
      this
    • createdTime

      @Stability(Stable) public CfnDetector.LabelProperty.Builder createdTime(String createdTime)
      Parameters:
      createdTime - Timestamp of when the event type was created.
      Returns:
      this
    • description

      @Stability(Stable) public CfnDetector.LabelProperty.Builder description(String description)
      Parameters:
      description - The label description.
      Returns:
      this
    • inline

      @Stability(Stable) public CfnDetector.LabelProperty.Builder inline(Boolean inline)
      Parameters:
      inline - Indicates whether the resource is defined within this CloudFormation template and impacts the create, update, and delete behavior of the stack. If the value is true , CloudFormation will create/update/delete the resource when creating/updating/deleting the stack. If the value is false , CloudFormation will validate that the object exists and then use it within the resource without making changes to the object.

      For example, when creating AWS::FraudDetector::Detector you must define at least two variables. You can set Inline=true for these variables and CloudFormation will create/update/delete the variables as part of stack operations. However, if you set Inline=false , CloudFormation will associate the variables to your detector but not execute any changes to the variables.

      Returns:
      this
    • inline

      @Stability(Stable) public CfnDetector.LabelProperty.Builder inline(IResolvable inline)
      Parameters:
      inline - Indicates whether the resource is defined within this CloudFormation template and impacts the create, update, and delete behavior of the stack. If the value is true , CloudFormation will create/update/delete the resource when creating/updating/deleting the stack. If the value is false , CloudFormation will validate that the object exists and then use it within the resource without making changes to the object.

      For example, when creating AWS::FraudDetector::Detector you must define at least two variables. You can set Inline=true for these variables and CloudFormation will create/update/delete the variables as part of stack operations. However, if you set Inline=false , CloudFormation will associate the variables to your detector but not execute any changes to the variables.

      Returns:
      this
    • lastUpdatedTime

      @Stability(Stable) public CfnDetector.LabelProperty.Builder lastUpdatedTime(String lastUpdatedTime)
      Parameters:
      lastUpdatedTime - Timestamp of when the label was last updated.
      Returns:
      this
    • name

      @Stability(Stable) public CfnDetector.LabelProperty.Builder name(String name)
      Parameters:
      name - The label name.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnDetector.LabelProperty.Builder tags(List<? extends CfnTag> tags)
      Parameters:
      tags - An array of key-value pairs to apply to this resource. For more information, see Tag .
      Returns:
      this
    • build

      @Stability(Stable) public CfnDetector.LabelProperty build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnDetector.LabelProperty>
      Returns:
      a new instance of CfnDetector.LabelProperty
      Throws:
      NullPointerException - if any required attribute was not provided