Interface MobileSdkRelease.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MobileSdkRelease.Builder,
,MobileSdkRelease> SdkBuilder<MobileSdkRelease.Builder,
,MobileSdkRelease> SdkPojo
- Enclosing class:
MobileSdkRelease
@Mutable
@NotThreadSafe
public static interface MobileSdkRelease.Builder
extends SdkPojo, CopyableBuilder<MobileSdkRelease.Builder,MobileSdkRelease>
-
Method Summary
Modifier and TypeMethodDescriptionreleaseNotes
(String releaseNotes) Notes describing the release.releaseVersion
(String releaseVersion) The release version.tags
(Collection<Tag> tags) Tags that are associated with the release.tags
(Consumer<Tag.Builder>... tags) Tags that are associated with the release.Tags that are associated with the release.The timestamp of the release.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
-
releaseVersion
The release version.
- Parameters:
releaseVersion
- The release version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamp
The timestamp of the release.
- Parameters:
timestamp
- The timestamp of the release.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
releaseNotes
Notes describing the release.
- Parameters:
releaseNotes
- Notes describing the release.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags that are associated with the release.
- Parameters:
tags
- Tags that are associated with the release.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags that are associated with the release.
- Parameters:
tags
- Tags that are associated with the release.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags that are associated with the release.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-