Interface AdditionalResources.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AdditionalResources.Builder,
,AdditionalResources> SdkBuilder<AdditionalResources.Builder,
,AdditionalResources> SdkPojo
- Enclosing class:
AdditionalResources
@Mutable
@NotThreadSafe
public static interface AdditionalResources.Builder
extends SdkPojo, CopyableBuilder<AdditionalResources.Builder,AdditionalResources>
-
Method Summary
Modifier and TypeMethodDescriptioncontent
(Collection<ChoiceContent> content) The URLs for additional resources, either helpful resources or improvement plans, for a custom lens.content
(Consumer<ChoiceContent.Builder>... content) The URLs for additional resources, either helpful resources or improvement plans, for a custom lens.content
(ChoiceContent... content) The URLs for additional resources, either helpful resources or improvement plans, for a custom lens.Type of additional resource for a custom lens.type
(AdditionalResourceType type) Type of additional resource for a custom lens.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
-
type
Type of additional resource for a custom lens.
- Parameters:
type
- Type of additional resource for a custom lens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Type of additional resource for a custom lens.
- Parameters:
type
- Type of additional resource for a custom lens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
content
The URLs for additional resources, either helpful resources or improvement plans, for a custom lens. Up to five additional URLs can be specified.
- Parameters:
content
- The URLs for additional resources, either helpful resources or improvement plans, for a custom lens. Up to five additional URLs can be specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The URLs for additional resources, either helpful resources or improvement plans, for a custom lens. Up to five additional URLs can be specified.
- Parameters:
content
- The URLs for additional resources, either helpful resources or improvement plans, for a custom lens. Up to five additional URLs can be specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The URLs for additional resources, either helpful resources or improvement plans, for a custom lens. Up to five additional URLs can be specified.
This is a convenience method that creates an instance of theChoiceContent.Builder
avoiding the need to create one manually viaChoiceContent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontent(List<ChoiceContent>)
.- Parameters:
content
- a consumer that will call methods onChoiceContent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-