Interface ListAppVersionResourceMappingsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAppVersionResourceMappingsResponse.Builder,ListAppVersionResourceMappingsResponse>,ResiliencehubResponse.Builder,SdkBuilder<ListAppVersionResourceMappingsResponse.Builder,ListAppVersionResourceMappingsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAppVersionResourceMappingsResponse
public static interface ListAppVersionResourceMappingsResponse.Builder extends ResiliencehubResponse.Builder, SdkPojo, CopyableBuilder<ListAppVersionResourceMappingsResponse.Builder,ListAppVersionResourceMappingsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAppVersionResourceMappingsResponse.BuildernextToken(String nextToken)Token for the next set of results, or null if there are no more results.ListAppVersionResourceMappingsResponse.BuilderresourceMappings(Collection<ResourceMapping> resourceMappings)Mappings used to map logical resources from the template to physical resources.ListAppVersionResourceMappingsResponse.BuilderresourceMappings(Consumer<ResourceMapping.Builder>... resourceMappings)Mappings used to map logical resources from the template to physical resources.ListAppVersionResourceMappingsResponse.BuilderresourceMappings(ResourceMapping... resourceMappings)Mappings used to map logical resources from the template to physical resources.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.resiliencehub.model.ResiliencehubResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListAppVersionResourceMappingsResponse.Builder nextToken(String nextToken)
Token for the next set of results, or null if there are no more results.
- Parameters:
nextToken- Token for the next set of results, or null if there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceMappings
ListAppVersionResourceMappingsResponse.Builder resourceMappings(Collection<ResourceMapping> resourceMappings)
Mappings used to map logical resources from the template to physical resources. You can use the mapping type
CFN_STACKif the application template uses a logical stack name. Or you can map individual resources by using the mapping typeRESOURCE. We recommend using the mapping typeCFN_STACKif the application is backed by a CloudFormation stack.- Parameters:
resourceMappings- Mappings used to map logical resources from the template to physical resources. You can use the mapping typeCFN_STACKif the application template uses a logical stack name. Or you can map individual resources by using the mapping typeRESOURCE. We recommend using the mapping typeCFN_STACKif the application is backed by a CloudFormation stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceMappings
ListAppVersionResourceMappingsResponse.Builder resourceMappings(ResourceMapping... resourceMappings)
Mappings used to map logical resources from the template to physical resources. You can use the mapping type
CFN_STACKif the application template uses a logical stack name. Or you can map individual resources by using the mapping typeRESOURCE. We recommend using the mapping typeCFN_STACKif the application is backed by a CloudFormation stack.- Parameters:
resourceMappings- Mappings used to map logical resources from the template to physical resources. You can use the mapping typeCFN_STACKif the application template uses a logical stack name. Or you can map individual resources by using the mapping typeRESOURCE. We recommend using the mapping typeCFN_STACKif the application is backed by a CloudFormation stack.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceMappings
ListAppVersionResourceMappingsResponse.Builder resourceMappings(Consumer<ResourceMapping.Builder>... resourceMappings)
Mappings used to map logical resources from the template to physical resources. You can use the mapping type
This is a convenience method that creates an instance of theCFN_STACKif the application template uses a logical stack name. Or you can map individual resources by using the mapping typeRESOURCE. We recommend using the mapping typeCFN_STACKif the application is backed by a CloudFormation stack.ResourceMapping.Builderavoiding the need to create one manually viaResourceMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#resourceMappings(List.) - Parameters:
resourceMappings- a consumer that will call methods onResourceMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#resourceMappings(java.util.Collection)
-
-