Class AwsManagedComponentAttributes.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.imagebuilder.alpha.AwsManagedComponentAttributes.Jsii$Proxy
All Implemented Interfaces:
AwsManagedComponentAttributes, software.amazon.jsii.JsiiSerializable
Enclosing interface:
AwsManagedComponentAttributes

@Stability(Experimental) @Internal public static final class AwsManagedComponentAttributes.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AwsManagedComponentAttributes
An implementation for AwsManagedComponentAttributes
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(AwsManagedComponentAttributes.Builder builder)
      Constructor that initializes the object based on literal property values passed by the AwsManagedComponentAttributes.Builder.
  • Method Details

    • getComponentName

      public final String getComponentName()
      Description copied from interface: AwsManagedComponentAttributes
      (experimental) The name of the AWS-managed component.

      The name of the AWS-managed component. This is a required attribute when using the this.fromAwsManagedComponentAttributes() method. This parameter should not be provided when using the pre-defined managed component methods, such as AwsManagedComponent.updateOS() and AwsManagedComponent.reboot().

      Default: - none if using the pre-defined managed component methods, otherwise a platform is required when using `this.fromAwsManagedComponentAttributes()`

      Specified by:
      getComponentName in interface AwsManagedComponentAttributes
    • getComponentVersion

      public final String getComponentVersion()
      Description copied from interface: AwsManagedComponentAttributes
      (experimental) The version of the AWS-managed component.

      Default: - the latest version of the component, x.x.x

      Specified by:
      getComponentVersion in interface AwsManagedComponentAttributes
    • getPlatform

      public final Platform getPlatform()
      Description copied from interface: AwsManagedComponentAttributes
      (experimental) The platform of the AWS-managed component.

      This is a required attribute when using the pre-defined managed component methods, such as AwsManagedComponent.updateOS() and AwsManagedComponent.reboot(). This parameter should not be provided when using the this.fromAwsManagedComponentAttributes() method.

      Default: - none if using `this.fromAwsManagedComponentAttributes()`, otherwise a platform is required when using the pre-defined managed component methods

      Specified by:
      getPlatform in interface AwsManagedComponentAttributes
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object