public static final class CfnBackupSelection.BackupSelectionResourceTypeProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnBackupSelection.BackupSelectionResourceTypeProperty
CfnBackupSelection.BackupSelectionResourceTypeProperty
CfnBackupSelection.BackupSelectionResourceTypeProperty.Builder, CfnBackupSelection.BackupSelectionResourceTypeProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.Object |
getConditions()
A list of conditions that you define to assign resources to your backup plans using tags.
|
java.lang.String |
getIamRoleArn()
The ARN of the IAM role that AWS Backup uses to authenticate when backing up the target resource;
|
java.lang.Object |
getListOfTags()
An array of conditions used to specify a set of resources to assign to a backup plan;
|
java.util.List<java.lang.String> |
getNotResources()
A list of Amazon Resource Names (ARNs) to exclude from a backup plan.
|
java.util.List<java.lang.String> |
getResources()
An array of strings that contain Amazon Resource Names (ARNs) of resources to assign to a backup plan.
|
java.lang.String |
getSelectionName()
The display name of a resource selection document.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getIamRoleArn()
CfnBackupSelection.BackupSelectionResourceTypeProperty
for example, arn:aws:iam::123456789012:role/S3Access
.
getIamRoleArn
in interface CfnBackupSelection.BackupSelectionResourceTypeProperty
public final java.lang.String getSelectionName()
CfnBackupSelection.BackupSelectionResourceTypeProperty
getSelectionName
in interface CfnBackupSelection.BackupSelectionResourceTypeProperty
public final java.lang.Object getConditions()
CfnBackupSelection.BackupSelectionResourceTypeProperty
For example, "StringEquals": {"Department": "accounting"
. Condition operators are case sensitive.
Conditions
differs from ListOfTags
as follows:
Conditions
supports StringEquals
, StringLike
, StringNotEquals
, and StringNotLike
. ListOfTags
only supports StringEquals
.getConditions
in interface CfnBackupSelection.BackupSelectionResourceTypeProperty
public final java.lang.Object getListOfTags()
CfnBackupSelection.BackupSelectionResourceTypeProperty
for example, "STRINGEQUALS": {"Department":"accounting"
.
getListOfTags
in interface CfnBackupSelection.BackupSelectionResourceTypeProperty
public final java.util.List<java.lang.String> getNotResources()
CfnBackupSelection.BackupSelectionResourceTypeProperty
The maximum number of ARNs is 500 without wildcards, or 30 ARNs with wildcards.
If you need to exclude many resources from a backup plan, consider a different resource selection strategy, such as assigning only one or a few resource types or refining your resource selection using tags.
getNotResources
in interface CfnBackupSelection.BackupSelectionResourceTypeProperty
public final java.util.List<java.lang.String> getResources()
CfnBackupSelection.BackupSelectionResourceTypeProperty
getResources
in interface CfnBackupSelection.BackupSelectionResourceTypeProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()