Class GreenFleetProvisioningOption

    • Method Detail

      • action

        public final GreenFleetProvisioningAction action()

        The method used to add instances to a replacement environment.

        • DISCOVER_EXISTING: Use instances that already exist or will be created manually.

        • COPY_AUTO_SCALING_GROUP: Use settings from a specified Auto Scaling group to define and create instances in a new Auto Scaling group.

        If the service returns an enum value that is not available in the current SDK version, action will return GreenFleetProvisioningAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from actionAsString().

        Returns:
        The method used to add instances to a replacement environment.

        • DISCOVER_EXISTING: Use instances that already exist or will be created manually.

        • COPY_AUTO_SCALING_GROUP: Use settings from a specified Auto Scaling group to define and create instances in a new Auto Scaling group.

        See Also:
        GreenFleetProvisioningAction
      • actionAsString

        public final String actionAsString()

        The method used to add instances to a replacement environment.

        • DISCOVER_EXISTING: Use instances that already exist or will be created manually.

        • COPY_AUTO_SCALING_GROUP: Use settings from a specified Auto Scaling group to define and create instances in a new Auto Scaling group.

        If the service returns an enum value that is not available in the current SDK version, action will return GreenFleetProvisioningAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from actionAsString().

        Returns:
        The method used to add instances to a replacement environment.

        • DISCOVER_EXISTING: Use instances that already exist or will be created manually.

        • COPY_AUTO_SCALING_GROUP: Use settings from a specified Auto Scaling group to define and create instances in a new Auto Scaling group.

        See Also:
        GreenFleetProvisioningAction
      • hashCode

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

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)