Interface ResourceDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceDetail.Builder,
,ResourceDetail> SdkBuilder<ResourceDetail.Builder,
,ResourceDetail> SdkPojo
- Enclosing class:
ResourceDetail
-
Method Summary
Modifier and TypeMethodDescriptionlogicalResourceId
(String logicalResourceId) The logical id for this resource in the final generated template.resourceIdentifier
(Map<String, String> resourceIdentifier) A list of up to 256 key-value pairs that identifies the resource in the generated template.resourceStatus
(String resourceStatus) Status of the processing of a resource in a generated template.resourceStatus
(GeneratedTemplateResourceStatus resourceStatus) Status of the processing of a resource in a generated template.resourceStatusReason
(String resourceStatusReason) The reason for the resource detail, providing more information if a failure happened.resourceType
(String resourceType) The type of the resource, such asAWS::DynamoDB::Table
.warnings
(Collection<WarningDetail> warnings) The warnings generated for this resource.warnings
(Consumer<WarningDetail.Builder>... warnings) The warnings generated for this resource.warnings
(WarningDetail... warnings) The warnings generated for this resource.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 Details
-
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.
-
logicalResourceId
The logical id for this resource in the final generated template.
- Parameters:
logicalResourceId
- The logical id for this resource in the final generated template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIdentifier
A list of up to 256 key-value pairs that identifies the resource in the generated template. 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 the resource in the generated template. 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.
-
resourceStatus
Status of the processing of a resource in a generated template.
- InProgress
-
The resource processing is still in progress.
- Complete
-
The resource processing is complete.
- Pending
-
The resource processing is pending.
- Failed
-
The resource processing has failed.
- Parameters:
resourceStatus
- Status of the processing of a resource in a generated template.- InProgress
-
The resource processing is still in progress.
- Complete
-
The resource processing is complete.
- Pending
-
The resource processing is pending.
- Failed
-
The resource processing has failed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceStatus
Status of the processing of a resource in a generated template.
- InProgress
-
The resource processing is still in progress.
- Complete
-
The resource processing is complete.
- Pending
-
The resource processing is pending.
- Failed
-
The resource processing has failed.
- Parameters:
resourceStatus
- Status of the processing of a resource in a generated template.- InProgress
-
The resource processing is still in progress.
- Complete
-
The resource processing is complete.
- Pending
-
The resource processing is pending.
- Failed
-
The resource processing has failed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceStatusReason
The reason for the resource detail, providing more information if a failure happened.
- Parameters:
resourceStatusReason
- The reason for the resource detail, providing more information if a failure happened.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warnings
The warnings generated for this resource.
- Parameters:
warnings
- The warnings generated for this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warnings
The warnings generated for this resource.
- Parameters:
warnings
- The warnings generated for this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warnings
The warnings generated for this resource.
This is a convenience method that creates an instance of theWarningDetail.Builder
avoiding the need to create one manually viaWarningDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towarnings(List<WarningDetail>)
.- Parameters:
warnings
- a consumer that will call methods onWarningDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-