Class AzureWorkloadSQLAutoProtectionIntentArgs.Builder
- java.lang.Object
-
- com.pulumi.azurenative.recoveryservices.inputs.AzureWorkloadSQLAutoProtectionIntentArgs.Builder
-
- Enclosing class:
- AzureWorkloadSQLAutoProtectionIntentArgs
public static final class AzureWorkloadSQLAutoProtectionIntentArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(AzureWorkloadSQLAutoProtectionIntentArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(AzureWorkloadSQLAutoProtectionIntentArgs defaults)
-
-
Method Detail
-
backupManagementType
public AzureWorkloadSQLAutoProtectionIntentArgs.Builder backupManagementType(@Nullable com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,BackupManagementType>> backupManagementType)
- Parameters:
backupManagementType
- Type of backup management for the backed up item.- Returns:
- builder
-
backupManagementType
public AzureWorkloadSQLAutoProtectionIntentArgs.Builder backupManagementType(com.pulumi.core.Either<java.lang.String,BackupManagementType> backupManagementType)
- Parameters:
backupManagementType
- Type of backup management for the backed up item.- Returns:
- builder
-
backupManagementType
public AzureWorkloadSQLAutoProtectionIntentArgs.Builder backupManagementType(java.lang.String backupManagementType)
- Parameters:
backupManagementType
- Type of backup management for the backed up item.- Returns:
- builder
-
backupManagementType
public AzureWorkloadSQLAutoProtectionIntentArgs.Builder backupManagementType(BackupManagementType backupManagementType)
- Parameters:
backupManagementType
- Type of backup management for the backed up item.- Returns:
- builder
-
itemId
public AzureWorkloadSQLAutoProtectionIntentArgs.Builder itemId(@Nullable com.pulumi.core.Output<java.lang.String> itemId)
- Parameters:
itemId
- ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId- Returns:
- builder
-
itemId
public AzureWorkloadSQLAutoProtectionIntentArgs.Builder itemId(java.lang.String itemId)
- Parameters:
itemId
- ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId- Returns:
- builder
-
policyId
public AzureWorkloadSQLAutoProtectionIntentArgs.Builder policyId(@Nullable com.pulumi.core.Output<java.lang.String> policyId)
- Parameters:
policyId
- ID of the backup policy with which this item is backed up.- Returns:
- builder
-
policyId
public AzureWorkloadSQLAutoProtectionIntentArgs.Builder policyId(java.lang.String policyId)
- Parameters:
policyId
- ID of the backup policy with which this item is backed up.- Returns:
- builder
-
protectionIntentItemType
public AzureWorkloadSQLAutoProtectionIntentArgs.Builder protectionIntentItemType(com.pulumi.core.Output<java.lang.String> protectionIntentItemType)
- Parameters:
protectionIntentItemType
- backup protectionIntent type. Expected value is 'AzureWorkloadSQLAutoProtectionIntent'.- Returns:
- builder
-
protectionIntentItemType
public AzureWorkloadSQLAutoProtectionIntentArgs.Builder protectionIntentItemType(java.lang.String protectionIntentItemType)
- Parameters:
protectionIntentItemType
- backup protectionIntent type. Expected value is 'AzureWorkloadSQLAutoProtectionIntent'.- Returns:
- builder
-
protectionState
public AzureWorkloadSQLAutoProtectionIntentArgs.Builder protectionState(@Nullable com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,ProtectionStatus>> protectionState)
- Parameters:
protectionState
- Backup state of this backup item.- Returns:
- builder
-
protectionState
public AzureWorkloadSQLAutoProtectionIntentArgs.Builder protectionState(com.pulumi.core.Either<java.lang.String,ProtectionStatus> protectionState)
- Parameters:
protectionState
- Backup state of this backup item.- Returns:
- builder
-
protectionState
public AzureWorkloadSQLAutoProtectionIntentArgs.Builder protectionState(java.lang.String protectionState)
- Parameters:
protectionState
- Backup state of this backup item.- Returns:
- builder
-
protectionState
public AzureWorkloadSQLAutoProtectionIntentArgs.Builder protectionState(ProtectionStatus protectionState)
- Parameters:
protectionState
- Backup state of this backup item.- Returns:
- builder
-
sourceResourceId
public AzureWorkloadSQLAutoProtectionIntentArgs.Builder sourceResourceId(@Nullable com.pulumi.core.Output<java.lang.String> sourceResourceId)
- Parameters:
sourceResourceId
- ARM ID of the resource to be backed up.- Returns:
- builder
-
sourceResourceId
public AzureWorkloadSQLAutoProtectionIntentArgs.Builder sourceResourceId(java.lang.String sourceResourceId)
- Parameters:
sourceResourceId
- ARM ID of the resource to be backed up.- Returns:
- builder
-
workloadItemType
public AzureWorkloadSQLAutoProtectionIntentArgs.Builder workloadItemType(@Nullable com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,WorkloadItemType>> workloadItemType)
- Parameters:
workloadItemType
- Workload item type of the item for which intent is to be set- Returns:
- builder
-
workloadItemType
public AzureWorkloadSQLAutoProtectionIntentArgs.Builder workloadItemType(com.pulumi.core.Either<java.lang.String,WorkloadItemType> workloadItemType)
- Parameters:
workloadItemType
- Workload item type of the item for which intent is to be set- Returns:
- builder
-
workloadItemType
public AzureWorkloadSQLAutoProtectionIntentArgs.Builder workloadItemType(java.lang.String workloadItemType)
- Parameters:
workloadItemType
- Workload item type of the item for which intent is to be set- Returns:
- builder
-
workloadItemType
public AzureWorkloadSQLAutoProtectionIntentArgs.Builder workloadItemType(WorkloadItemType workloadItemType)
- Parameters:
workloadItemType
- Workload item type of the item for which intent is to be set- Returns:
- builder
-
build
public AzureWorkloadSQLAutoProtectionIntentArgs build()
-
-