Interface ResourceDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceDetail.Builder,ResourceDetail>,SdkBuilder<ResourceDetail.Builder,ResourceDetail>,SdkPojo
- Enclosing class:
- ResourceDetail
public static interface ResourceDetail.Builder extends SdkPojo, CopyableBuilder<ResourceDetail.Builder,ResourceDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceDetail.BuilderlogicalResourceId(String logicalResourceId)The logical id for this resource in the final generated template.ResourceDetail.BuilderresourceIdentifier(Map<String,String> resourceIdentifier)A list of up to 256 key-value pairs that identifies the resource in the generated template.ResourceDetail.BuilderresourceStatus(String resourceStatus)Status of the processing of a resource in a generated template.ResourceDetail.BuilderresourceStatus(GeneratedTemplateResourceStatus resourceStatus)Status of the processing of a resource in a generated template.ResourceDetail.BuilderresourceStatusReason(String resourceStatusReason)The reason for the resource detail, providing more information if a failure happened.ResourceDetail.BuilderresourceType(String resourceType)The type of the resource, such asAWS::DynamoDB::Table.ResourceDetail.Builderwarnings(Collection<WarningDetail> warnings)The warnings generated for this resource.ResourceDetail.Builderwarnings(Consumer<WarningDetail.Builder>... warnings)The warnings generated for this resource.ResourceDetail.Builderwarnings(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 Detail
-
resourceType
ResourceDetail.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.
-
logicalResourceId
ResourceDetail.Builder logicalResourceId(String 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
ResourceDetail.Builder resourceIdentifier(Map<String,String> 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
primaryIdentifierlist in the resource schema.) The value is the value of that primary identifier. For example, for aAWS::DynamoDB::Tableresource, the primary identifiers isTableNameso 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 theprimaryIdentifierlist in the resource schema.) The value is the value of that primary identifier. For example, for aAWS::DynamoDB::Tableresource, the primary identifiers isTableNameso 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
ResourceDetail.Builder resourceStatus(String 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:
GeneratedTemplateResourceStatus,GeneratedTemplateResourceStatus
-
resourceStatus
ResourceDetail.Builder resourceStatus(GeneratedTemplateResourceStatus 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:
GeneratedTemplateResourceStatus,GeneratedTemplateResourceStatus
-
resourceStatusReason
ResourceDetail.Builder resourceStatusReason(String 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
ResourceDetail.Builder warnings(Collection<WarningDetail> 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
ResourceDetail.Builder warnings(WarningDetail... 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
ResourceDetail.Builder warnings(Consumer<WarningDetail.Builder>... warnings)
The warnings generated for this resource.
This is a convenience method that creates an instance of theWarningDetail.Builderavoiding the need to create one manually viaWarningDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#warnings(List.) - 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:
#warnings(java.util.Collection)
-
-