Interface ScannedResource.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ScannedResource.Builder,ScannedResource>
,SdkBuilder<ScannedResource.Builder,ScannedResource>
,SdkPojo
- Enclosing class:
- ScannedResource
public static interface ScannedResource.Builder extends SdkPojo, CopyableBuilder<ScannedResource.Builder,ScannedResource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScannedResource.Builder
managedByStack(Boolean managedByStack)
Iftrue
, the resource is managed by a CloudFormation stack.ScannedResource.Builder
resourceIdentifier(Map<String,String> resourceIdentifier)
A list of up to 256 key-value pairs that identifies for the scanned resource.ScannedResource.Builder
resourceType(String resourceType)
The type of the resource, such asAWS::DynamoDB::Table
.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
resourceType
ScannedResource.Builder resourceType(String resourceType)
The type of the resource, such as
AWS::DynamoDB::Table
. For the list of supported resources, see Resource type support for imports and drift detection In the CloudFormation User Guide- Parameters:
resourceType
- The type of the resource, such asAWS::DynamoDB::Table
. For the list of supported resources, see Resource type support for imports and drift detection In the CloudFormation User Guide- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIdentifier
ScannedResource.Builder resourceIdentifier(Map<String,String> resourceIdentifier)
A list of up to 256 key-value pairs that identifies for 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 aAWS::DynamoDB::Table
resource, the primary identifiers isTableName
so the key-value pair could be"TableName": "MyDDBTable"
. For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.- Parameters:
resourceIdentifier
- A list of up to 256 key-value pairs that identifies for the scanned resource. The key is the name of one of the primary identifiers for the resource. (Primary identifiers are specified in theprimaryIdentifier
list in the resource schema.) The value is the value of that primary identifier. For example, for aAWS::DynamoDB::Table
resource, the primary identifiers isTableName
so the key-value pair could be"TableName": "MyDDBTable"
. For more information, see primaryIdentifier in the CloudFormation Command Line Interface (CLI) User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedByStack
ScannedResource.Builder managedByStack(Boolean managedByStack)
If
true
, the resource is managed by a CloudFormation stack.- Parameters:
managedByStack
- Iftrue
, the resource is managed by a CloudFormation stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-