Interface ProxyStatus.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ProxyStatus.Builder,,ProxyStatus> SdkBuilder<ProxyStatus.Builder,,ProxyStatus> SdkPojo
- Enclosing class:
ProxyStatus
@Mutable
@NotThreadSafe
public static interface ProxyStatus.Builder
extends SdkPojo, CopyableBuilder<ProxyStatus.Builder,ProxyStatus>
-
Method Summary
Modifier and TypeMethodDescriptionThe status code of the proxy.code(ProxyStatusCode code) The status code of the proxy.reasons(Collection<ProxyStatusReason> reasons) The reasons for the current status of the proxy.reasons(Consumer<ProxyStatusReason.Builder>... reasons) The reasons for the current status of the proxy.reasons(ProxyStatusReason... reasons) The reasons for the current status of the proxy.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
-
code
The status code of the proxy.
- Parameters:
code- The status code of the proxy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
code
The status code of the proxy.
- Parameters:
code- The status code of the proxy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reasons
The reasons for the current status of the proxy.
- Parameters:
reasons- The reasons for the current status of the proxy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reasons
The reasons for the current status of the proxy.
- Parameters:
reasons- The reasons for the current status of the proxy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reasons
The reasons for the current status of the proxy.
This is a convenience method that creates an instance of theProxyStatusReason.Builderavoiding the need to create one manually viaProxyStatusReason.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreasons(List<ProxyStatusReason>).- Parameters:
reasons- a consumer that will call methods onProxyStatusReason.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-