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)
Logical identifier of the resource.
|
PhysicalResource.Builder |
logicalResourceId(LogicalResourceId logicalResourceId)
Logical identifier of the resource.
|
PhysicalResource.Builder |
parentResourceName(String parentResourceName)
Name of the parent resource.
|
default PhysicalResource.Builder |
physicalResourceId(Consumer<PhysicalResourceId.Builder> physicalResourceId)
Identifier of the physical resource.
|
PhysicalResource.Builder |
physicalResourceId(PhysicalResourceId physicalResourceId)
Identifier of the physical resource.
|
PhysicalResource.Builder |
resourceName(String resourceName)
The name of the resource.
|
PhysicalResource.Builder |
resourceType(String resourceType)
Type of resource.
|
PhysicalResource.Builder |
sourceType(ResourceSourceType sourceType)
Type of input source.
|
PhysicalResource.Builder |
sourceType(String sourceType)
Type of input source.
|
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)
Logical identifier of the resource.
logicalResourceId - Logical identifier of the resource.default PhysicalResource.Builder logicalResourceId(Consumer<LogicalResourceId.Builder> logicalResourceId)
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 parentResourceName(String parentResourceName)
Name of the parent resource.
parentResourceName - Name of the parent resource.PhysicalResource.Builder physicalResourceId(PhysicalResourceId physicalResourceId)
Identifier of the physical resource.
physicalResourceId - Identifier of the physical resource.default PhysicalResource.Builder physicalResourceId(Consumer<PhysicalResourceId.Builder> physicalResourceId)
Identifier of the physical 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)
Type of resource.
resourceType - Type of resource.PhysicalResource.Builder sourceType(String sourceType)
Type of input source.
sourceType - Type of input source.ResourceSourceType,
ResourceSourceTypePhysicalResource.Builder sourceType(ResourceSourceType sourceType)
Type of input source.
sourceType - Type of input source.ResourceSourceType,
ResourceSourceTypeCopyright © 2023. All rights reserved.