public static interface PhysicalResource.Builder extends SdkPojo, CopyableBuilder<PhysicalResource.Builder,PhysicalResource>
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 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 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 © 2022. All rights reserved.