Interface ParticipatingResource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ParticipatingResource.Builder,
,ParticipatingResource> SdkBuilder<ParticipatingResource.Builder,
,ParticipatingResource> SdkPojo
- Enclosing class:
ParticipatingResource
public static interface ParticipatingResource.Builder
extends SdkPojo, CopyableBuilder<ParticipatingResource.Builder,ParticipatingResource>
-
Method Summary
Modifier and TypeMethodDescriptionlaunchStatus
(String launchStatus) The launch status of a participating resource.launchStatus
(LaunchStatus launchStatus) The launch status of a participating resource.default ParticipatingResource.Builder
participatingResourceID
(Consumer<ParticipatingResourceID.Builder> participatingResourceID) The ID of a participating resource.participatingResourceID
(ParticipatingResourceID participatingResourceID) The ID of a participating resource.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 Details
-
launchStatus
The launch status of a participating resource.
- Parameters:
launchStatus
- The launch status of a participating resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
launchStatus
The launch status of a participating resource.
- Parameters:
launchStatus
- The launch status of a participating resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
participatingResourceID
ParticipatingResource.Builder participatingResourceID(ParticipatingResourceID participatingResourceID) The ID of a participating resource.
- Parameters:
participatingResourceID
- The ID of a participating resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
participatingResourceID
default ParticipatingResource.Builder participatingResourceID(Consumer<ParticipatingResourceID.Builder> participatingResourceID) The ID of a participating resource.
This is a convenience method that creates an instance of theParticipatingResourceID.Builder
avoiding the need to create one manually viaParticipatingResourceID.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparticipatingResourceID(ParticipatingResourceID)
.- Parameters:
participatingResourceID
- a consumer that will call methods onParticipatingResourceID.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-