Interface ReferenceSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReferenceSummary.Builder,
,ReferenceSummary> SdkBuilder<ReferenceSummary.Builder,
,ReferenceSummary> SdkPojo
- Enclosing class:
ReferenceSummary
-
Method Summary
Modifier and TypeMethodDescriptiondefault ReferenceSummary.Builder
attachment
(Consumer<AttachmentReference.Builder> attachment) Information about the reference when thereferenceType
isATTACHMENT
.attachment
(AttachmentReference attachment) Information about the reference when thereferenceType
isATTACHMENT
.default ReferenceSummary.Builder
date
(Consumer<DateReference.Builder> date) Information about a reference when thereferenceType
isDATE
.date
(DateReference date) Information about a reference when thereferenceType
isDATE
.default ReferenceSummary.Builder
email
(Consumer<EmailReference.Builder> email) Information about a reference when thereferenceType
isEMAIL
.email
(EmailReference email) Information about a reference when thereferenceType
isEMAIL
.default ReferenceSummary.Builder
number
(Consumer<NumberReference.Builder> number) Information about a reference when thereferenceType
isNUMBER
.number
(NumberReference number) Information about a reference when thereferenceType
isNUMBER
.default ReferenceSummary.Builder
string
(Consumer<StringReference.Builder> string) Information about a reference when thereferenceType
isSTRING
.string
(StringReference string) Information about a reference when thereferenceType
isSTRING
.default ReferenceSummary.Builder
url
(Consumer<UrlReference.Builder> url) Information about the reference when thereferenceType
isURL
.url
(UrlReference url) Information about the reference when thereferenceType
isURL
.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
-
url
Information about the reference when the
referenceType
isURL
. Otherwise, null.- Parameters:
url
- Information about the reference when thereferenceType
isURL
. Otherwise, null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
url
Information about the reference when the
This is a convenience method that creates an instance of thereferenceType
isURL
. Otherwise, null.UrlReference.Builder
avoiding the need to create one manually viaUrlReference.builder()
.When the
Consumer
completes,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:
-
attachment
Information about the reference when the
referenceType
isATTACHMENT
. Otherwise, null.- Parameters:
attachment
- Information about the reference when thereferenceType
isATTACHMENT
. Otherwise, null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachment
Information about the reference when the
This is a convenience method that creates an instance of thereferenceType
isATTACHMENT
. Otherwise, null.AttachmentReference.Builder
avoiding the need to create one manually viaAttachmentReference.builder()
.When the
Consumer
completes,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:
-
string
Information about a reference when the
referenceType
isSTRING
. Otherwise, null.- Parameters:
string
- Information about a reference when thereferenceType
isSTRING
. Otherwise, null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
string
Information about a reference when the
This is a convenience method that creates an instance of thereferenceType
isSTRING
. Otherwise, null.StringReference.Builder
avoiding the need to create one manually viaStringReference.builder()
.When the
Consumer
completes,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:
-
number
Information about a reference when the
referenceType
isNUMBER
. Otherwise, null.- Parameters:
number
- Information about a reference when thereferenceType
isNUMBER
. Otherwise, null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
number
Information about a reference when the
This is a convenience method that creates an instance of thereferenceType
isNUMBER
. Otherwise, null.NumberReference.Builder
avoiding the need to create one manually viaNumberReference.builder()
.When the
Consumer
completes,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:
-
date
Information about a reference when the
referenceType
isDATE
. Otherwise, null.- Parameters:
date
- Information about a reference when thereferenceType
isDATE
. Otherwise, null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
date
Information about a reference when the
This is a convenience method that creates an instance of thereferenceType
isDATE
. Otherwise, null.DateReference.Builder
avoiding the need to create one manually viaDateReference.builder()
.When the
Consumer
completes,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:
-
email
Information about a reference when the
referenceType
isEMAIL
. Otherwise, null.- Parameters:
email
- Information about a reference when thereferenceType
isEMAIL
. Otherwise, null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
email
Information about a reference when the
This is a convenience method that creates an instance of thereferenceType
isEMAIL
. Otherwise, null.EmailReference.Builder
avoiding the need to create one manually viaEmailReference.builder()
.When the
Consumer
completes,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:
-