Class WorkspaceBundle

    • Method Detail

      • bundleId

        public final String bundleId()

        The identifier of the bundle.

        Returns:
        The identifier of the bundle.
      • name

        public final String name()

        The name of the bundle.

        Returns:
        The name of the bundle.
      • owner

        public final String owner()

        The owner of the bundle. This is the account identifier of the owner, or AMAZON if the bundle is provided by Amazon Web Services.

        Returns:
        The owner of the bundle. This is the account identifier of the owner, or AMAZON if the bundle is provided by Amazon Web Services.
      • description

        public final String description()

        The description of the bundle.

        Returns:
        The description of the bundle.
      • imageId

        public final String imageId()

        The identifier of the image that was used to create the bundle.

        Returns:
        The identifier of the image that was used to create the bundle.
      • rootStorage

        public final RootStorage rootStorage()

        The size of the root volume.

        Returns:
        The size of the root volume.
      • userStorage

        public final UserStorage userStorage()

        The size of the user volume.

        Returns:
        The size of the user volume.
      • lastUpdatedTime

        public final Instant lastUpdatedTime()

        The last time that the bundle was updated.

        Returns:
        The last time that the bundle was updated.
      • creationTime

        public final Instant creationTime()

        The time when the bundle was created.

        Returns:
        The time when the bundle was created.
      • 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)