Interface AddDraftAppVersionResourceMappingsRequest.Builder

    • Method Detail

      • appArn

        AddDraftAppVersionResourceMappingsRequest.Builder appArn​(String appArn)

        Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn: partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

        Parameters:
        appArn - Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn: partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceMappings

        AddDraftAppVersionResourceMappingsRequest.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

        AddDraftAppVersionResourceMappingsRequest.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

        AddDraftAppVersionResourceMappingsRequest.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)