Interface GroupingResource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GroupingResource.Builder,
,GroupingResource> SdkBuilder<GroupingResource.Builder,
,GroupingResource> SdkPojo
- Enclosing class:
GroupingResource
-
Method Summary
Modifier and TypeMethodDescriptiondefault GroupingResource.Builder
logicalResourceId
(Consumer<LogicalResourceId.Builder> logicalResourceId) Indicates the logical identifier of the resource.logicalResourceId
(LogicalResourceId logicalResourceId) Indicates the logical identifier of the resource.default GroupingResource.Builder
physicalResourceId
(Consumer<PhysicalResourceId.Builder> physicalResourceId) Indicates the physical identifier of the resource.physicalResourceId
(PhysicalResourceId physicalResourceId) Indicates the physical identifier of the resource.resourceName
(String resourceName) Indicates the resource name.resourceType
(String resourceType) Indicates the resource type.sourceAppComponentIds
(String... sourceAppComponentIds) Indicates the identifier of the source AppComponents in which the resources were previously grouped into.sourceAppComponentIds
(Collection<String> sourceAppComponentIds) Indicates the identifier of the source AppComponents in which the resources were previously grouped into.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
logicalResourceId
Indicates the logical identifier of the resource.
- Parameters:
logicalResourceId
- Indicates the logical identifier of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logicalResourceId
default GroupingResource.Builder logicalResourceId(Consumer<LogicalResourceId.Builder> logicalResourceId) Indicates 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 viaLogicalResourceId.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologicalResourceId(LogicalResourceId)
.- Parameters:
logicalResourceId
- a consumer that will call methods onLogicalResourceId.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
physicalResourceId
Indicates the physical identifier of the resource.
- Parameters:
physicalResourceId
- Indicates the physical identifier of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
physicalResourceId
default GroupingResource.Builder physicalResourceId(Consumer<PhysicalResourceId.Builder> physicalResourceId) Indicates 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 viaPhysicalResourceId.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tophysicalResourceId(PhysicalResourceId)
.- Parameters:
physicalResourceId
- a consumer that will call methods onPhysicalResourceId.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceName
Indicates the resource name.
- Parameters:
resourceName
- Indicates the resource name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
Indicates the resource type.
- Parameters:
resourceType
- Indicates the resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceAppComponentIds
Indicates the identifier of the source AppComponents in which the resources were previously grouped into.
- Parameters:
sourceAppComponentIds
- Indicates the identifier of the source AppComponents in which the resources were previously grouped into.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceAppComponentIds
Indicates the identifier of the source AppComponents in which the resources were previously grouped into.
- Parameters:
sourceAppComponentIds
- Indicates the identifier of the source AppComponents in which the resources were previously grouped into.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-