Interface CreateLinkRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateLinkRequest.Builder,,CreateLinkRequest> RtbFabricRequest.Builder,SdkBuilder<CreateLinkRequest.Builder,,CreateLinkRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
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) Application log settings for the link.logSettings(LinkLogSettings logSettings) Application log settings for the link.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.timeoutInMillis(Long timeoutInMillis) The timeout value in milliseconds.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
Application log settings for the link. This value is required. Under
applicationLogs.sampling, theerrorLogandfilterLogfields set the percentage of eligible events to log. Valid values range from0through100. To turn off application logs, set both fields to0, as in{"applicationLogs":{"sampling":{"errorLog":0,"filterLog":0}}}.- Parameters:
logSettings- Application log settings for the link. This value is required. UnderapplicationLogs.sampling, theerrorLogandfilterLogfields set the percentage of eligible events to log. Valid values range from0through100. To turn off application logs, set both fields to0, as in{"applicationLogs":{"sampling":{"errorLog":0,"filterLog":0}}}.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logSettings
Application log settings for the link. This value is required. Under
This is a convenience method that creates an instance of theapplicationLogs.sampling, theerrorLogandfilterLogfields set the percentage of eligible events to log. Valid values range from0through100. To turn off application logs, set both fields to0, as in{"applicationLogs":{"sampling":{"errorLog":0,"filterLog":0}}}.LinkLogSettings.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:
-
timeoutInMillis
The timeout value in milliseconds.
- Parameters:
timeoutInMillis- The timeout value in milliseconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-