Class Preset

    • Method Detail

      • arn

        public final String arn()
        An identifier for this resource that is unique within all of AWS.
        Returns:
        An identifier for this resource that is unique within all of AWS.
      • category

        public final String category()
        An optional category you create to organize your presets.
        Returns:
        An optional category you create to organize your presets.
      • createdAt

        public final Instant createdAt()
        The timestamp in epoch seconds for preset creation.
        Returns:
        The timestamp in epoch seconds for preset creation.
      • description

        public final String description()
        An optional description you create for each preset.
        Returns:
        An optional description you create for each preset.
      • lastUpdated

        public final Instant lastUpdated()
        The timestamp in epoch seconds when the preset was last updated.
        Returns:
        The timestamp in epoch seconds when the preset was last updated.
      • name

        public final String name()
        A name you create for each preset. Each name must be unique within your account.
        Returns:
        A name you create for each preset. Each name must be unique within your account.
      • settings

        public final PresetSettings settings()
        Settings for preset
        Returns:
        Settings for preset
      • type

        public final Type type()
        A preset can be of two types: system or custom. System or built-in preset can't be modified or deleted by the user.

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

        Returns:
        A preset can be of two types: system or custom. System or built-in preset can't be modified or deleted by the user.
        See Also:
        Type
      • typeAsString

        public final String typeAsString()
        A preset can be of two types: system or custom. System or built-in preset can't be modified or deleted by the user.

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

        Returns:
        A preset can be of two types: system or custom. System or built-in preset can't be modified or deleted by the user.
        See Also:
        Type
      • serializableBuilderClass

        public static Class<? extends Preset.Builder> serializableBuilderClass()
      • 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)