Interface ResourceSnapshotPayload.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceSnapshotPayload.Builder,
,ResourceSnapshotPayload> SdkBuilder<ResourceSnapshotPayload.Builder,
,ResourceSnapshotPayload> SdkPojo
- Enclosing class:
ResourceSnapshotPayload
@Mutable
@NotThreadSafe
public static interface ResourceSnapshotPayload.Builder
extends SdkPojo, CopyableBuilder<ResourceSnapshotPayload.Builder,ResourceSnapshotPayload>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ResourceSnapshotPayload.Builder
opportunitySummary
(Consumer<OpportunitySummaryView.Builder> opportunitySummary) An object that contains anopportunity
's subset of fields.opportunitySummary
(OpportunitySummaryView opportunitySummary) An object that contains anopportunity
's subset of fields.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
-
opportunitySummary
An object that contains an
opportunity
's subset of fields.- Parameters:
opportunitySummary
- An object that contains anopportunity
's subset of fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
opportunitySummary
default ResourceSnapshotPayload.Builder opportunitySummary(Consumer<OpportunitySummaryView.Builder> opportunitySummary) An object that contains an
This is a convenience method that creates an instance of theopportunity
's subset of fields.OpportunitySummaryView.Builder
avoiding the need to create one manually viaOpportunitySummaryView.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toopportunitySummary(OpportunitySummaryView)
.- Parameters:
opportunitySummary
- a consumer that will call methods onOpportunitySummaryView.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-