Interface InventoryConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InventoryConfiguration.Builder,,InventoryConfiguration> SdkBuilder<InventoryConfiguration.Builder,,InventoryConfiguration> SdkPojo
- Enclosing class:
InventoryConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault InventoryConfiguration.BuilderaccountScope(Consumer<AccountScope.Builder> accountScope) The accounts collected from.accountScope(AccountScope accountScope) The accounts collected from.dataRetentionDays(Integer dataRetentionDays) How many days inventory data is kept.default InventoryConfiguration.BuilderexpiryNotification(Consumer<InventoryExpiryNotification.Builder> expiryNotification) Certificate expiry notifications as stored.expiryNotification(InventoryExpiryNotification expiryNotification) Certificate expiry notifications as stored.homeRegion(String homeRegion) The home Region: the Region where the configuration is managed.default InventoryConfiguration.BuilderinventoryTierConfiguration(Consumer<InventoryTierConfiguration.Builder> inventoryTierConfiguration) The organization's ACM plan.inventoryTierConfiguration(InventoryTierConfiguration inventoryTierConfiguration) The organization's ACM plan.default InventoryConfiguration.BuilderlastDeliveryStatus(Consumer<InventoryNotificationDeliveryStatus.Builder> lastDeliveryStatus) The latest verification or delivery outcome for ExpiryNotification.lastDeliveryStatus(InventoryNotificationDeliveryStatus lastDeliveryStatus) The latest verification or delivery outcome for ExpiryNotification.default InventoryConfiguration.BuilderlifecycleManagement(Consumer<LifecycleManagementConfiguration.Builder> lifecycleManagement) The state of Certificate actions for organizations.lifecycleManagement(LifecycleManagementConfiguration lifecycleManagement) The state of Certificate actions for organizations.provisioningStatus(String provisioningStatus) How far setup of the current configuration has progressed in the organization's accounts.provisioningStatus(ProvisioningStatus provisioningStatus) How far setup of the current configuration has progressed in the organization's accounts.default InventoryConfiguration.BuilderprovisioningStatusReason(Consumer<ProvisioningStatusReason.Builder> provisioningStatusReason) Why setup failed.provisioningStatusReason(ProvisioningStatusReason provisioningStatusReason) Why setup failed.default InventoryConfiguration.BuilderregionalScope(Consumer<RegionalScope.Builder> regionalScope) The Regions collected from.regionalScope(RegionalScope regionalScope) The Regions collected from.Whether collection is on.status(InventoryStatus status) Whether collection is on.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
regionalScope
The Regions collected from.
- Parameters:
regionalScope- The Regions collected from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionalScope
The Regions collected from.
This is a convenience method that creates an instance of theRegionalScope.Builderavoiding the need to create one manually viaRegionalScope.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toregionalScope(RegionalScope).- Parameters:
regionalScope- a consumer that will call methods onRegionalScope.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accountScope
The accounts collected from.
- Parameters:
accountScope- The accounts collected from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountScope
The accounts collected from.
This is a convenience method that creates an instance of theAccountScope.Builderavoiding the need to create one manually viaAccountScope.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccountScope(AccountScope).- Parameters:
accountScope- a consumer that will call methods onAccountScope.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataRetentionDays
How many days inventory data is kept.
- Parameters:
dataRetentionDays- How many days inventory data is kept.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
provisioningStatus
How far setup of the current configuration has progressed in the organization's accounts.
- Parameters:
provisioningStatus- How far setup of the current configuration has progressed in the organization's accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
provisioningStatus
How far setup of the current configuration has progressed in the organization's accounts.
- Parameters:
provisioningStatus- How far setup of the current configuration has progressed in the organization's accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
provisioningStatusReason
InventoryConfiguration.Builder provisioningStatusReason(ProvisioningStatusReason provisioningStatusReason) Why setup failed. Present only when ProvisioningStatus is FAILED.
- Parameters:
provisioningStatusReason- Why setup failed. Present only when ProvisioningStatus is FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisioningStatusReason
default InventoryConfiguration.Builder provisioningStatusReason(Consumer<ProvisioningStatusReason.Builder> provisioningStatusReason) Why setup failed. Present only when ProvisioningStatus is FAILED.
This is a convenience method that creates an instance of theProvisioningStatusReason.Builderavoiding the need to create one manually viaProvisioningStatusReason.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprovisioningStatusReason(ProvisioningStatusReason).- Parameters:
provisioningStatusReason- a consumer that will call methods onProvisioningStatusReason.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
homeRegion
The home Region: the Region where the configuration is managed. It is the Region of the first PutInventoryConfiguration call.
- Parameters:
homeRegion- The home Region: the Region where the configuration is managed. It is the Region of the first PutInventoryConfiguration call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleManagement
InventoryConfiguration.Builder lifecycleManagement(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleManagement
default InventoryConfiguration.Builder lifecycleManagement(Consumer<LifecycleManagementConfiguration.Builder> 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.
This is a convenience method that creates an instance of theLifecycleManagementConfiguration.Builderavoiding the need to create one manually viaLifecycleManagementConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolifecycleManagement(LifecycleManagementConfiguration).- Parameters:
lifecycleManagement- a consumer that will call methods onLifecycleManagementConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
expiryNotification
Certificate expiry notifications as stored. Until they are configured, Enabled is false, LeadTimeDays is 7, and Frequency is ONCE.
- Parameters:
expiryNotification- Certificate expiry notifications as stored. Until they are configured, Enabled is false, LeadTimeDays is 7, and Frequency is ONCE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiryNotification
default InventoryConfiguration.Builder expiryNotification(Consumer<InventoryExpiryNotification.Builder> expiryNotification) Certificate expiry notifications as stored. Until they are configured, Enabled is false, LeadTimeDays is 7, and Frequency is ONCE.
This is a convenience method that creates an instance of theInventoryExpiryNotification.Builderavoiding the need to create one manually viaInventoryExpiryNotification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexpiryNotification(InventoryExpiryNotification).- Parameters:
expiryNotification- a consumer that will call methods onInventoryExpiryNotification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastDeliveryStatus
InventoryConfiguration.Builder lastDeliveryStatus(InventoryNotificationDeliveryStatus lastDeliveryStatus) The latest verification or delivery outcome for ExpiryNotification. Absent while inventory Status is DISABLED or notifications are off.
- Parameters:
lastDeliveryStatus- The latest verification or delivery outcome for ExpiryNotification. Absent while inventory Status is DISABLED or notifications are off.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastDeliveryStatus
default InventoryConfiguration.Builder lastDeliveryStatus(Consumer<InventoryNotificationDeliveryStatus.Builder> lastDeliveryStatus) The latest verification or delivery outcome for ExpiryNotification. Absent while inventory Status is DISABLED or notifications are off.
This is a convenience method that creates an instance of theInventoryNotificationDeliveryStatus.Builderavoiding the need to create one manually viaInventoryNotificationDeliveryStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolastDeliveryStatus(InventoryNotificationDeliveryStatus).- Parameters:
lastDeliveryStatus- a consumer that will call methods onInventoryNotificationDeliveryStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inventoryTierConfiguration
InventoryConfiguration.Builder inventoryTierConfiguration(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
inventoryTierConfiguration
default InventoryConfiguration.Builder inventoryTierConfiguration(Consumer<InventoryTierConfiguration.Builder> 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.
This is a convenience method that creates an instance of theInventoryTierConfiguration.Builderavoiding the need to create one manually viaInventoryTierConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinventoryTierConfiguration(InventoryTierConfiguration).- Parameters:
inventoryTierConfiguration- a consumer that will call methods onInventoryTierConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-