Interface Attribution.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Attribution.Builder,Attribution>
,SdkBuilder<Attribution.Builder,Attribution>
,SdkPojo
- Enclosing class:
- Attribution
public static interface Attribution.Builder extends SdkPojo, CopyableBuilder<Attribution.Builder,Attribution>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Attribution.Builder
citations(Collection<Citation> citations)
Sets the value of the Citations property for this object.Attribution.Builder
citations(Consumer<Citation.Builder>... citations)
Sets the value of the Citations property for this object.Attribution.Builder
citations(Citation... citations)
Sets the value of the Citations property for this object.-
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
-
citations
Attribution.Builder citations(Collection<Citation> citations)
Sets the value of the Citations property for this object.- Parameters:
citations
- The new value for the Citations property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
citations
Attribution.Builder citations(Citation... citations)
Sets the value of the Citations property for this object.- Parameters:
citations
- The new value for the Citations property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
citations
Attribution.Builder citations(Consumer<Citation.Builder>... citations)
Sets the value of the Citations property for this object. This is a convenience method that creates an instance of theCitation.Builder
avoiding the need to create one manually viaCitation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#citations(List
.) - Parameters:
citations
- a consumer that will call methods onCitation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#citations(java.util.Collection
)
-
-