Class CfnMeteredProduct

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-17T05:10:08.556Z") @Stability(Stable) public class CfnMeteredProduct extends CfnResource implements IInspectable
Adds a metered product.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.deadline.*;
 CfnMeteredProduct cfnMeteredProduct = CfnMeteredProduct.Builder.create(this, "MyCfnMeteredProduct")
         .family("family")
         .licenseEndpointId("licenseEndpointId")
         .port(123)
         .productId("productId")
         .vendor("vendor")
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnMeteredProduct

      protected CfnMeteredProduct(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnMeteredProduct

      protected CfnMeteredProduct(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnMeteredProduct

      @Stability(Stable) public CfnMeteredProduct(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnMeteredProductProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties.
    • CfnMeteredProduct

      @Stability(Stable) public CfnMeteredProduct(@NotNull software.constructs.Construct scope, @NotNull String id)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The Amazon Resource Name (ARN) of the metered product.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getFamily

      @Stability(Stable) @Nullable public String getFamily()
      The family to which the metered product belongs.
    • setFamily

      @Stability(Stable) public void setFamily(@Nullable String value)
      The family to which the metered product belongs.
    • getLicenseEndpointId

      @Stability(Stable) @Nullable public String getLicenseEndpointId()
      The Amazon EC2 identifier of the license endpoint.
    • setLicenseEndpointId

      @Stability(Stable) public void setLicenseEndpointId(@Nullable String value)
      The Amazon EC2 identifier of the license endpoint.
    • getPort

      @Stability(Stable) @Nullable public Number getPort()
      The port on which the metered product should run.
    • setPort

      @Stability(Stable) public void setPort(@Nullable Number value)
      The port on which the metered product should run.
    • getProductId

      @Stability(Stable) @Nullable public String getProductId()
      The product ID.
    • setProductId

      @Stability(Stable) public void setProductId(@Nullable String value)
      The product ID.
    • getVendor

      @Stability(Stable) @Nullable public String getVendor()
      The vendor.
    • setVendor

      @Stability(Stable) public void setVendor(@Nullable String value)
      The vendor.