Interface GroupingResource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GroupingResource.Builder,GroupingResource>,SdkBuilder<GroupingResource.Builder,GroupingResource>,SdkPojo
- Enclosing class:
- GroupingResource
public static interface GroupingResource.Builder extends SdkPojo, CopyableBuilder<GroupingResource.Builder,GroupingResource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GroupingResource.BuilderlogicalResourceId(Consumer<LogicalResourceId.Builder> logicalResourceId)Indicates the logical identifier of the resource.GroupingResource.BuilderlogicalResourceId(LogicalResourceId logicalResourceId)Indicates the logical identifier of the resource.default GroupingResource.BuilderphysicalResourceId(Consumer<PhysicalResourceId.Builder> physicalResourceId)Indicates the physical identifier of the resource.GroupingResource.BuilderphysicalResourceId(PhysicalResourceId physicalResourceId)Indicates the physical identifier of the resource.GroupingResource.BuilderresourceName(String resourceName)Indicates the resource name.GroupingResource.BuilderresourceType(String resourceType)Indicates the resource type.GroupingResource.BuildersourceAppComponentIds(String... sourceAppComponentIds)Indicates the identifier of the source AppComponents in which the resources were previously grouped into.GroupingResource.BuildersourceAppComponentIds(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, sdkFields
-
-
-
-
Method Detail
-
logicalResourceId
GroupingResource.Builder logicalResourceId(LogicalResourceId 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.Builderavoiding the need to create one manually viaLogicalResourceId.builder().When the
Consumercompletes,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:
logicalResourceId(LogicalResourceId)
-
physicalResourceId
GroupingResource.Builder physicalResourceId(PhysicalResourceId 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.Builderavoiding the need to create one manually viaPhysicalResourceId.builder().When the
Consumercompletes,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:
physicalResourceId(PhysicalResourceId)
-
resourceName
GroupingResource.Builder resourceName(String 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
GroupingResource.Builder resourceType(String 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
GroupingResource.Builder sourceAppComponentIds(Collection<String> 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
GroupingResource.Builder sourceAppComponentIds(String... 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.
-
-