Interface CreateLinkRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateLinkRequest.Builder,,CreateLinkRequest> RtbFabricRequest.Builder,SdkBuilder<CreateLinkRequest.Builder,,CreateLinkRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateLinkRequest
@Mutable
@NotThreadSafe
public static interface CreateLinkRequest.Builder
extends RtbFabricRequest.Builder, SdkPojo, CopyableBuilder<CreateLinkRequest.Builder,CreateLinkRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateLinkRequest.Builderattributes(Consumer<LinkAttributes.Builder> attributes) Attributes of the link.attributes(LinkAttributes attributes) Attributes of the link.The unique identifier of the gateway.httpResponderAllowed(Boolean httpResponderAllowed) Boolean to specify if an HTTP responder is allowed.default CreateLinkRequest.BuilderlogSettings(Consumer<LinkLogSettings.Builder> logSettings) Settings for the application logs.logSettings(LinkLogSettings logSettings) Settings for the application logs.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.peerGatewayId(String peerGatewayId) The unique identifier of the peer gateway.A map of the key-value pairs of the tag or tags to assign to the resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rtbfabric.model.RtbFabricRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
gatewayId
The unique identifier of the gateway.
- Parameters:
gatewayId- The unique identifier of the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peerGatewayId
The unique identifier of the peer gateway.
- Parameters:
peerGatewayId- The unique identifier of the peer gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
Attributes of the link.
- Parameters:
attributes- Attributes of the link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
Attributes of the link.
This is a convenience method that creates an instance of theLinkAttributes.Builderavoiding the need to create one manually viaLinkAttributes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattributes(LinkAttributes).- Parameters:
attributes- a consumer that will call methods onLinkAttributes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
httpResponderAllowed
Boolean to specify if an HTTP responder is allowed.
- Parameters:
httpResponderAllowed- Boolean to specify if an HTTP responder is allowed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A map of the key-value pairs of the tag or tags to assign to the resource.
- Parameters:
tags- A map of the key-value pairs of the tag or tags to assign to the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logSettings
Settings for the application logs.
- Parameters:
logSettings- Settings for the application logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logSettings
Settings for the application logs.
This is a convenience method that creates an instance of theLinkLogSettings.Builderavoiding the need to create one manually viaLinkLogSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologSettings(LinkLogSettings).- Parameters:
logSettings- a consumer that will call methods onLinkLogSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateLinkRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateLinkRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-