@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScannedResourceIdentifier extends Object implements Serializable, Cloneable
Identifies a scanned resource. This is used with the ListResourceScanRelatedResources
API action.
Constructor and Description |
---|
ScannedResourceIdentifier() |
Modifier and Type | Method and Description |
---|---|
ScannedResourceIdentifier |
addResourceIdentifierEntry(String key,
String value)
Add a single ResourceIdentifier entry
|
ScannedResourceIdentifier |
clearResourceIdentifierEntries()
Removes all the entries added into ResourceIdentifier.
|
ScannedResourceIdentifier |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getResourceIdentifier()
A list of up to 256 key-value pairs that identifies the scanned resource.
|
String |
getResourceType()
The type of the resource, such as
AWS::DynamoDB::Table . |
int |
hashCode() |
void |
setResourceIdentifier(Map<String,String> resourceIdentifier)
A list of up to 256 key-value pairs that identifies the scanned resource.
|
void |
setResourceType(String resourceType)
The type of the resource, such as
AWS::DynamoDB::Table . |
String |
toString()
Returns a string representation of this object.
|
ScannedResourceIdentifier |
withResourceIdentifier(Map<String,String> resourceIdentifier)
A list of up to 256 key-value pairs that identifies the scanned resource.
|
ScannedResourceIdentifier |
withResourceType(String resourceType)
The type of the resource, such as
AWS::DynamoDB::Table . |
public void setResourceType(String resourceType)
The type of the resource, such as AWS::DynamoDB::Table
. For the list of supported resources, see IaC
generator supported resource types In the CloudFormation User Guide.
resourceType
- The type of the resource, such as AWS::DynamoDB::Table
. For the list of supported resources,
see IaC generator supported resource types In the CloudFormation User Guide.public String getResourceType()
The type of the resource, such as AWS::DynamoDB::Table
. For the list of supported resources, see IaC
generator supported resource types In the CloudFormation User Guide.
AWS::DynamoDB::Table
. For the list of supported resources,
see IaC generator supported resource types In the CloudFormation User Guide.public ScannedResourceIdentifier withResourceType(String resourceType)
The type of the resource, such as AWS::DynamoDB::Table
. For the list of supported resources, see IaC
generator supported resource types In the CloudFormation User Guide.
resourceType
- The type of the resource, such as AWS::DynamoDB::Table
. For the list of supported resources,
see IaC generator supported resource types In the CloudFormation User Guide.public Map<String,String> getResourceIdentifier()
A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the
primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier
list in the resource schema.) The value is the value of that primary identifier. For example, for a
AWS::DynamoDB::Table
resource, the primary identifiers is TableName
so the key-value
pair could be "TableName": "MyDDBTable"
. For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.
primaryIdentifier
list in the resource schema.) The value is the value of that primary
identifier. For example, for a AWS::DynamoDB::Table
resource, the primary identifiers is
TableName
so the key-value pair could be "TableName": "MyDDBTable"
. For more
information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension
development.public void setResourceIdentifier(Map<String,String> resourceIdentifier)
A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the
primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier
list in the resource schema.) The value is the value of that primary identifier. For example, for a
AWS::DynamoDB::Table
resource, the primary identifiers is TableName
so the key-value
pair could be "TableName": "MyDDBTable"
. For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.
resourceIdentifier
- A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of
the primary identifiers for the resource. (Primary identifiers are specified in the
primaryIdentifier
list in the resource schema.) The value is the value of that primary
identifier. For example, for a AWS::DynamoDB::Table
resource, the primary identifiers is
TableName
so the key-value pair could be "TableName": "MyDDBTable"
. For more
information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension
development.public ScannedResourceIdentifier withResourceIdentifier(Map<String,String> resourceIdentifier)
A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of the
primary identifiers for the resource. (Primary identifiers are specified in the primaryIdentifier
list in the resource schema.) The value is the value of that primary identifier. For example, for a
AWS::DynamoDB::Table
resource, the primary identifiers is TableName
so the key-value
pair could be "TableName": "MyDDBTable"
. For more information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension development.
resourceIdentifier
- A list of up to 256 key-value pairs that identifies the scanned resource. The key is the name of one of
the primary identifiers for the resource. (Primary identifiers are specified in the
primaryIdentifier
list in the resource schema.) The value is the value of that primary
identifier. For example, for a AWS::DynamoDB::Table
resource, the primary identifiers is
TableName
so the key-value pair could be "TableName": "MyDDBTable"
. For more
information, see primaryIdentifier in the CloudFormation Command Line Interface User guide for extension
development.public ScannedResourceIdentifier addResourceIdentifierEntry(String key, String value)
public ScannedResourceIdentifier clearResourceIdentifierEntries()
public String toString()
toString
in class Object
Object.toString()
public ScannedResourceIdentifier clone()