Class InventoryConfiguration

java.lang.Object
software.amazon.awssdk.services.acm.model.InventoryConfiguration
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<InventoryConfiguration.Builder,InventoryConfiguration>

@Generated("software.amazon.awssdk:codegen") public final class InventoryConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InventoryConfiguration.Builder,InventoryConfiguration>

The organization's inventory configuration.

See Also:
  • Method Details

    • regionalScope

      public final RegionalScope regionalScope()

      The Regions collected from.

      Returns:
      The Regions collected from.
    • accountScope

      public final AccountScope accountScope()

      The accounts collected from.

      Returns:
      The accounts collected from.
    • dataRetentionDays

      public final Integer dataRetentionDays()

      How many days inventory data is kept.

      Returns:
      How many days inventory data is kept.
    • status

      public final InventoryStatus status()

      Whether collection is on. After a DISABLED request while the organization has an ACM plan, Status stays ENABLED until the plan ends at the end of the billing period.

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

      Returns:
      Whether collection is on. After a DISABLED request while the organization has an ACM plan, Status stays ENABLED until the plan ends at the end of the billing period.
      See Also:
    • statusAsString

      public final String statusAsString()

      Whether collection is on. After a DISABLED request while the organization has an ACM plan, Status stays ENABLED until the plan ends at the end of the billing period.

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

      Returns:
      Whether collection is on. After a DISABLED request while the organization has an ACM plan, Status stays ENABLED until the plan ends at the end of the billing period.
      See Also:
    • provisioningStatus

      public final ProvisioningStatus provisioningStatus()

      How far setup of the current configuration has progressed in the organization's accounts.

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

      Returns:
      How far setup of the current configuration has progressed in the organization's accounts.
      See Also:
    • provisioningStatusAsString

      public final String provisioningStatusAsString()

      How far setup of the current configuration has progressed in the organization's accounts.

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

      Returns:
      How far setup of the current configuration has progressed in the organization's accounts.
      See Also:
    • provisioningStatusReason

      public final ProvisioningStatusReason provisioningStatusReason()

      Why setup failed. Present only when ProvisioningStatus is FAILED.

      Returns:
      Why setup failed. Present only when ProvisioningStatus is FAILED.
    • homeRegion

      public final String homeRegion()

      The home Region: the Region where the configuration is managed. It is the Region of the first PutInventoryConfiguration call.

      Returns:
      The home Region: the Region where the configuration is managed. It is the Region of the first PutInventoryConfiguration call.
    • lifecycleManagement

      public final LifecycleManagementConfiguration lifecycleManagement()

      The state of Certificate actions for organizations. Certificate actions are the operations that act on certificates and certificate authorities in the organization's member accounts, such as RenewMemberCertificate. Status is DISABLED until certificate actions are first turned on.

      Returns:
      The state of Certificate actions for organizations. Certificate actions are the operations that act on certificates and certificate authorities in the organization's member accounts, such as RenewMemberCertificate. Status is DISABLED until certificate actions are first turned on.
    • expiryNotification

      public final InventoryExpiryNotification expiryNotification()

      Certificate expiry notifications as stored. Until they are configured, Enabled is false, LeadTimeDays is 7, and Frequency is ONCE.

      Returns:
      Certificate expiry notifications as stored. Until they are configured, Enabled is false, LeadTimeDays is 7, and Frequency is ONCE.
    • lastDeliveryStatus

      public final InventoryNotificationDeliveryStatus lastDeliveryStatus()

      The latest verification or delivery outcome for ExpiryNotification. Absent while inventory Status is DISABLED or notifications are off.

      Returns:
      The latest verification or delivery outcome for ExpiryNotification. Absent while inventory Status is DISABLED or notifications are off.
    • inventoryTierConfiguration

      public final InventoryTierConfiguration inventoryTierConfiguration()

      The organization's ACM plan. Present while the organization has a plan or one is being applied, and while a scheduled change is pending. Absent when the organization has no plan. Only GetInventoryConfiguration returns it. PutInventoryConfiguration never does.

      Returns:
      The organization's ACM plan. Present while the organization has a plan or one is being applied, and while a scheduled change is pending. Absent when the organization has no plan. Only GetInventoryConfiguration returns it. PutInventoryConfiguration never does.
    • toBuilder

      public InventoryConfiguration.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<InventoryConfiguration.Builder,InventoryConfiguration>
      Returns:
      a builder for type T
    • builder

      public static InventoryConfiguration.Builder builder()
    • serializableBuilderClass

      public static Class<? extends InventoryConfiguration.Builder> serializableBuilderClass()
    • hashCode

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

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

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.