Interface ListAppVersionResourceMappingsResponse.Builder

    • 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_STACK if the application template uses a logical stack name. Or you can map individual resources by using the mapping type RESOURCE. We recommend using the mapping type CFN_STACK if 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 type CFN_STACK if the application template uses a logical stack name. Or you can map individual resources by using the mapping type RESOURCE. We recommend using the mapping type CFN_STACK if 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_STACK if the application template uses a logical stack name. Or you can map individual resources by using the mapping type RESOURCE. We recommend using the mapping type CFN_STACK if 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 type CFN_STACK if the application template uses a logical stack name. Or you can map individual resources by using the mapping type RESOURCE. We recommend using the mapping type CFN_STACK if 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 CFN_STACK if the application template uses a logical stack name. Or you can map individual resources by using the mapping type RESOURCE. We recommend using the mapping type CFN_STACK if the application is backed by a CloudFormation stack.

        This is a convenience method that creates an instance of the ResourceMapping.Builder avoiding the need to create one manually via ResourceMapping.builder() .

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #resourceMappings(List).

        Parameters:
        resourceMappings - a consumer that will call methods on ResourceMapping.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #resourceMappings(java.util.Collection)