Interface LinkAttributes.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LinkAttributes.Builder,,LinkAttributes> SdkBuilder<LinkAttributes.Builder,,LinkAttributes> SdkPojo
- Enclosing class:
LinkAttributes
@Mutable
@NotThreadSafe
public static interface LinkAttributes.Builder
extends SdkPojo, CopyableBuilder<LinkAttributes.Builder,LinkAttributes>
-
Method Summary
Modifier and TypeMethodDescriptioncustomerProvidedId(String customerProvidedId) The customer-provided unique identifier of the link.responderErrorMasking(Collection<ResponderErrorMaskingForHttpCode> responderErrorMasking) Describes the masking for HTTP error codes.responderErrorMasking(Consumer<ResponderErrorMaskingForHttpCode.Builder>... responderErrorMasking) Describes the masking for HTTP error codes.responderErrorMasking(ResponderErrorMaskingForHttpCode... responderErrorMasking) Describes the masking for HTTP error codes.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
responderErrorMasking
LinkAttributes.Builder responderErrorMasking(Collection<ResponderErrorMaskingForHttpCode> responderErrorMasking) Describes the masking for HTTP error codes.
- Parameters:
responderErrorMasking- Describes the masking for HTTP error codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responderErrorMasking
LinkAttributes.Builder responderErrorMasking(ResponderErrorMaskingForHttpCode... responderErrorMasking) Describes the masking for HTTP error codes.
- Parameters:
responderErrorMasking- Describes the masking for HTTP error codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responderErrorMasking
LinkAttributes.Builder responderErrorMasking(Consumer<ResponderErrorMaskingForHttpCode.Builder>... responderErrorMasking) Describes the masking for HTTP error codes.
This is a convenience method that creates an instance of theResponderErrorMaskingForHttpCode.Builderavoiding the need to create one manually viaResponderErrorMaskingForHttpCode.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresponderErrorMasking(List<ResponderErrorMaskingForHttpCode>).- Parameters:
responderErrorMasking- a consumer that will call methods onResponderErrorMaskingForHttpCode.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customerProvidedId
The customer-provided unique identifier of the link.
- Parameters:
customerProvidedId- The customer-provided unique identifier of the link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-