Interface ReferenceSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ReferenceSummary.Builder,ReferenceSummary>,SdkBuilder<ReferenceSummary.Builder,ReferenceSummary>,SdkPojo
- Enclosing class:
- ReferenceSummary
public static interface ReferenceSummary.Builder extends SdkPojo, CopyableBuilder<ReferenceSummary.Builder,ReferenceSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ReferenceSummary.Builderattachment(Consumer<AttachmentReference.Builder> attachment)Information about the reference when thereferenceTypeisATTACHMENT.ReferenceSummary.Builderattachment(AttachmentReference attachment)Information about the reference when thereferenceTypeisATTACHMENT.default ReferenceSummary.Builderdate(Consumer<DateReference.Builder> date)Information about a reference when thereferenceTypeisDATE.ReferenceSummary.Builderdate(DateReference date)Information about a reference when thereferenceTypeisDATE.default ReferenceSummary.Builderemail(Consumer<EmailReference.Builder> email)Information about a reference when thereferenceTypeisEMAIL.ReferenceSummary.Builderemail(EmailReference email)Information about a reference when thereferenceTypeisEMAIL.default ReferenceSummary.Buildernumber(Consumer<NumberReference.Builder> number)Information about a reference when thereferenceTypeisNUMBER.ReferenceSummary.Buildernumber(NumberReference number)Information about a reference when thereferenceTypeisNUMBER.default ReferenceSummary.Builderstring(Consumer<StringReference.Builder> string)Information about a reference when thereferenceTypeisSTRING.ReferenceSummary.Builderstring(StringReference string)Information about a reference when thereferenceTypeisSTRING.default ReferenceSummary.Builderurl(Consumer<UrlReference.Builder> url)Information about the reference when thereferenceTypeisURL.ReferenceSummary.Builderurl(UrlReference url)Information about the reference when thereferenceTypeisURL.-
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
-
url
ReferenceSummary.Builder url(UrlReference url)
Information about the reference when the
referenceTypeisURL. Otherwise, null.- Parameters:
url- Information about the reference when thereferenceTypeisURL. Otherwise, null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
url
default ReferenceSummary.Builder url(Consumer<UrlReference.Builder> url)
Information about the reference when the
This is a convenience method that creates an instance of thereferenceTypeisURL. Otherwise, null.UrlReference.Builderavoiding the need to create one manually viaUrlReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tourl(UrlReference).- Parameters:
url- a consumer that will call methods onUrlReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
url(UrlReference)
-
attachment
ReferenceSummary.Builder attachment(AttachmentReference attachment)
Information about the reference when the
referenceTypeisATTACHMENT. Otherwise, null.- Parameters:
attachment- Information about the reference when thereferenceTypeisATTACHMENT. Otherwise, null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachment
default ReferenceSummary.Builder attachment(Consumer<AttachmentReference.Builder> attachment)
Information about the reference when the
This is a convenience method that creates an instance of thereferenceTypeisATTACHMENT. Otherwise, null.AttachmentReference.Builderavoiding the need to create one manually viaAttachmentReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattachment(AttachmentReference).- Parameters:
attachment- a consumer that will call methods onAttachmentReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
attachment(AttachmentReference)
-
string
ReferenceSummary.Builder string(StringReference string)
Information about a reference when the
referenceTypeisSTRING. Otherwise, null.- Parameters:
string- Information about a reference when thereferenceTypeisSTRING. Otherwise, null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
string
default ReferenceSummary.Builder string(Consumer<StringReference.Builder> string)
Information about a reference when the
This is a convenience method that creates an instance of thereferenceTypeisSTRING. Otherwise, null.StringReference.Builderavoiding the need to create one manually viaStringReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostring(StringReference).- Parameters:
string- a consumer that will call methods onStringReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
string(StringReference)
-
number
ReferenceSummary.Builder number(NumberReference number)
Information about a reference when the
referenceTypeisNUMBER. Otherwise, null.- Parameters:
number- Information about a reference when thereferenceTypeisNUMBER. Otherwise, null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
number
default ReferenceSummary.Builder number(Consumer<NumberReference.Builder> number)
Information about a reference when the
This is a convenience method that creates an instance of thereferenceTypeisNUMBER. Otherwise, null.NumberReference.Builderavoiding the need to create one manually viaNumberReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonumber(NumberReference).- Parameters:
number- a consumer that will call methods onNumberReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
number(NumberReference)
-
date
ReferenceSummary.Builder date(DateReference date)
Information about a reference when the
referenceTypeisDATE. Otherwise, null.- Parameters:
date- Information about a reference when thereferenceTypeisDATE. Otherwise, null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
date
default ReferenceSummary.Builder date(Consumer<DateReference.Builder> date)
Information about a reference when the
This is a convenience method that creates an instance of thereferenceTypeisDATE. Otherwise, null.DateReference.Builderavoiding the need to create one manually viaDateReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todate(DateReference).- Parameters:
date- a consumer that will call methods onDateReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
date(DateReference)
-
email
ReferenceSummary.Builder email(EmailReference email)
Information about a reference when the
referenceTypeisEMAIL. Otherwise, null.- Parameters:
email- Information about a reference when thereferenceTypeisEMAIL. Otherwise, null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
email
default ReferenceSummary.Builder email(Consumer<EmailReference.Builder> email)
Information about a reference when the
This is a convenience method that creates an instance of thereferenceTypeisEMAIL. Otherwise, null.EmailReference.Builderavoiding the need to create one manually viaEmailReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toemail(EmailReference).- Parameters:
email- a consumer that will call methods onEmailReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
email(EmailReference)
-
-