Class BackupPlanIndexActionProps.Builder
java.lang.Object
software.amazon.awscdk.services.backup.BackupPlanIndexActionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BackupPlanIndexActionProps>
- Enclosing interface:
BackupPlanIndexActionProps
@Stability(Stable)
public static final class BackupPlanIndexActionProps.Builder
extends Object
implements software.amazon.jsii.Builder<BackupPlanIndexActionProps>
A builder for
BackupPlanIndexActionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.resourceTypes(List<? extends IndexActionResourceType> resourceTypes) Sets the value ofBackupPlanIndexActionProps.getResourceTypes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resourceTypes
@Stability(Stable) public BackupPlanIndexActionProps.Builder resourceTypes(List<? extends IndexActionResourceType> resourceTypes) Sets the value ofBackupPlanIndexActionProps.getResourceTypes()- Parameters:
resourceTypes- Specifies the resource types to include in the index action. This parameter is required. A backup index is only created when this is set, so at least one resource type must be provided.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BackupPlanIndexActionProps>- Returns:
- a new instance of
BackupPlanIndexActionProps - Throws:
NullPointerException- if any required attribute was not provided
-