public static interface PhysicalResource.Builder extends SdkPojo, CopyableBuilder<PhysicalResource.Builder,PhysicalResource>
| Modifier and Type | Method and Description |
|---|---|
PhysicalResource.Builder |
additionalInfo(Map<String,? extends Collection<String>> additionalInfo)
Additional configuration parameters for an Resilience Hub application.
|
PhysicalResource.Builder |
appComponents(AppComponent... appComponents)
The application components that belong to this resource.
|
PhysicalResource.Builder |
appComponents(Collection<AppComponent> appComponents)
The application components that belong to this resource.
|
PhysicalResource.Builder |
appComponents(Consumer<AppComponent.Builder>... appComponents)
The application components that belong to this resource.
|
PhysicalResource.Builder |
excluded(Boolean excluded)
Indicates if a resource is included or excluded from the assessment.
|
default PhysicalResource.Builder |
logicalResourceId(Consumer<LogicalResourceId.Builder> logicalResourceId)
The logical identifier of the resource.
|
PhysicalResource.Builder |
logicalResourceId(LogicalResourceId logicalResourceId)
The logical identifier of the resource.
|
default PhysicalResource.Builder |
physicalResourceId(Consumer<PhysicalResourceId.Builder> physicalResourceId)
The physical identifier of the resource.
|
PhysicalResource.Builder |
physicalResourceId(PhysicalResourceId physicalResourceId)
The physical identifier of the resource.
|
PhysicalResource.Builder |
resourceName(String resourceName)
The name of the resource.
|
PhysicalResource.Builder |
resourceType(String resourceType)
The type of resource.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPhysicalResource.Builder additionalInfo(Map<String,? extends Collection<String>> additionalInfo)
Additional configuration parameters for an Resilience Hub application. If you want to implement
additionalInfo through the Resilience Hub console rather than using an API call, see Configure the
application configuration parameters.
Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.
Key: "failover-regions"
Value: "[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"
additionalInfo - Additional configuration parameters for an Resilience Hub application. If you want to implement
additionalInfo through the Resilience Hub console rather than using an API call, see Configure the
application configuration parameters. Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.
Key: "failover-regions"
Value: "[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"
PhysicalResource.Builder appComponents(Collection<AppComponent> appComponents)
The application components that belong to this resource.
appComponents - The application components that belong to this resource.PhysicalResource.Builder appComponents(AppComponent... appComponents)
The application components that belong to this resource.
appComponents - The application components that belong to this resource.PhysicalResource.Builder appComponents(Consumer<AppComponent.Builder>... appComponents)
The application components that belong to this resource.
This is a convenience method that creates an instance of theAppComponent.Builder avoiding the need to create
one manually via AppComponent.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #appComponents(List.
appComponents - a consumer that will call methods on
AppComponent.Builder#appComponents(java.util.Collection) PhysicalResource.Builder excluded(Boolean excluded)
Indicates if a resource is included or excluded from the assessment.
excluded - Indicates if a resource is included or excluded from the assessment.PhysicalResource.Builder logicalResourceId(LogicalResourceId logicalResourceId)
The logical identifier of the resource.
logicalResourceId - The logical identifier of the resource.default PhysicalResource.Builder logicalResourceId(Consumer<LogicalResourceId.Builder> logicalResourceId)
The logical identifier of the resource.
This is a convenience method that creates an instance of theLogicalResourceId.Builder avoiding the
need to create one manually via LogicalResourceId.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to logicalResourceId(LogicalResourceId).
logicalResourceId - a consumer that will call methods on LogicalResourceId.BuilderlogicalResourceId(LogicalResourceId)PhysicalResource.Builder physicalResourceId(PhysicalResourceId physicalResourceId)
The physical identifier of the resource.
physicalResourceId - The physical identifier of the resource.default PhysicalResource.Builder physicalResourceId(Consumer<PhysicalResourceId.Builder> physicalResourceId)
The physical identifier of the resource.
This is a convenience method that creates an instance of thePhysicalResourceId.Builder avoiding the
need to create one manually via PhysicalResourceId.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to physicalResourceId(PhysicalResourceId).
physicalResourceId - a consumer that will call methods on PhysicalResourceId.BuilderphysicalResourceId(PhysicalResourceId)PhysicalResource.Builder resourceName(String resourceName)
The name of the resource.
resourceName - The name of the resource.PhysicalResource.Builder resourceType(String resourceType)
The type of resource.
resourceType - The type of resource.Copyright © 2023. All rights reserved.