Interface GatewayResources.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GatewayResources.Builder,,GatewayResources> SdkBuilder<GatewayResources.Builder,,GatewayResources> SdkPojo
- Enclosing class:
GatewayResources
@Mutable
@NotThreadSafe
public static interface GatewayResources.Builder
extends SdkPojo, CopyableBuilder<GatewayResources.Builder,GatewayResources>
-
Method Summary
Modifier and TypeMethodDescriptiongatewayArn(String gatewayArn) The Amazon Resource Name (ARN) of the gateway.default GatewayResources.Builderresources(Consumer<GatewayInfrastructureResources.Builder> resources) The infrastructure resources that the gateway manages.resources(GatewayInfrastructureResources resources) The infrastructure resources that the gateway manages.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
-
gatewayArn
The Amazon Resource Name (ARN) of the gateway.
- Parameters:
gatewayArn- The Amazon Resource Name (ARN) of the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
The infrastructure resources that the gateway manages.
- Parameters:
resources- The infrastructure resources that the gateway manages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
default GatewayResources.Builder resources(Consumer<GatewayInfrastructureResources.Builder> resources) The infrastructure resources that the gateway manages.
This is a convenience method that creates an instance of theGatewayInfrastructureResources.Builderavoiding the need to create one manually viaGatewayInfrastructureResources.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresources(GatewayInfrastructureResources).- Parameters:
resources- a consumer that will call methods onGatewayInfrastructureResources.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-