Interface Blueprint.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Blueprint.Builder,Blueprint>,SdkBuilder<Blueprint.Builder,Blueprint>,SdkPojo
- Enclosing class:
- Blueprint
public static interface Blueprint.Builder extends SdkPojo, CopyableBuilder<Blueprint.Builder,Blueprint>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Blueprint.BuilderblueprintLocation(String blueprintLocation)Specifies the path in Amazon S3 where the blueprint is published.Blueprint.BuilderblueprintServiceLocation(String blueprintServiceLocation)Specifies a path in Amazon S3 where the blueprint is copied when you callCreateBlueprint/UpdateBlueprintto register the blueprint in Glue.Blueprint.BuildercreatedOn(Instant createdOn)The date and time the blueprint was registered.Blueprint.Builderdescription(String description)The description of the blueprint.Blueprint.BuildererrorMessage(String errorMessage)An error message.default Blueprint.BuilderlastActiveDefinition(Consumer<LastActiveDefinition.Builder> lastActiveDefinition)When there are multiple versions of a blueprint and the latest version has some errors, this attribute indicates the last successful blueprint definition that is available with the service.Blueprint.BuilderlastActiveDefinition(LastActiveDefinition lastActiveDefinition)When there are multiple versions of a blueprint and the latest version has some errors, this attribute indicates the last successful blueprint definition that is available with the service.Blueprint.BuilderlastModifiedOn(Instant lastModifiedOn)The date and time the blueprint was last modified.Blueprint.Buildername(String name)The name of the blueprint.Blueprint.BuilderparameterSpec(String parameterSpec)A JSON string that indicates the list of parameter specifications for the blueprint.Blueprint.Builderstatus(String status)The status of the blueprint registration.Blueprint.Builderstatus(BlueprintStatus status)The status of the blueprint registration.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
Blueprint.Builder name(String name)
The name of the blueprint.
- Parameters:
name- The name of the blueprint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Blueprint.Builder description(String description)
The description of the blueprint.
- Parameters:
description- The description of the blueprint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdOn
Blueprint.Builder createdOn(Instant createdOn)
The date and time the blueprint was registered.
- Parameters:
createdOn- The date and time the blueprint was registered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedOn
Blueprint.Builder lastModifiedOn(Instant lastModifiedOn)
The date and time the blueprint was last modified.
- Parameters:
lastModifiedOn- The date and time the blueprint was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameterSpec
Blueprint.Builder parameterSpec(String parameterSpec)
A JSON string that indicates the list of parameter specifications for the blueprint.
- Parameters:
parameterSpec- A JSON string that indicates the list of parameter specifications for the blueprint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blueprintLocation
Blueprint.Builder blueprintLocation(String blueprintLocation)
Specifies the path in Amazon S3 where the blueprint is published.
- Parameters:
blueprintLocation- Specifies the path in Amazon S3 where the blueprint is published.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blueprintServiceLocation
Blueprint.Builder blueprintServiceLocation(String blueprintServiceLocation)
Specifies a path in Amazon S3 where the blueprint is copied when you call
CreateBlueprint/UpdateBlueprintto register the blueprint in Glue.- Parameters:
blueprintServiceLocation- Specifies a path in Amazon S3 where the blueprint is copied when you callCreateBlueprint/UpdateBlueprintto register the blueprint in Glue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Blueprint.Builder status(String status)
The status of the blueprint registration.
-
Creating — The blueprint registration is in progress.
-
Active — The blueprint has been successfully registered.
-
Updating — An update to the blueprint registration is in progress.
-
Failed — The blueprint registration failed.
- Parameters:
status- The status of the blueprint registration.-
Creating — The blueprint registration is in progress.
-
Active — The blueprint has been successfully registered.
-
Updating — An update to the blueprint registration is in progress.
-
Failed — The blueprint registration failed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BlueprintStatus,BlueprintStatus
-
-
status
Blueprint.Builder status(BlueprintStatus status)
The status of the blueprint registration.
-
Creating — The blueprint registration is in progress.
-
Active — The blueprint has been successfully registered.
-
Updating — An update to the blueprint registration is in progress.
-
Failed — The blueprint registration failed.
- Parameters:
status- The status of the blueprint registration.-
Creating — The blueprint registration is in progress.
-
Active — The blueprint has been successfully registered.
-
Updating — An update to the blueprint registration is in progress.
-
Failed — The blueprint registration failed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BlueprintStatus,BlueprintStatus
-
-
errorMessage
Blueprint.Builder errorMessage(String errorMessage)
An error message.
- Parameters:
errorMessage- An error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastActiveDefinition
Blueprint.Builder lastActiveDefinition(LastActiveDefinition lastActiveDefinition)
When there are multiple versions of a blueprint and the latest version has some errors, this attribute indicates the last successful blueprint definition that is available with the service.
- Parameters:
lastActiveDefinition- When there are multiple versions of a blueprint and the latest version has some errors, this attribute indicates the last successful blueprint definition that is available with the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastActiveDefinition
default Blueprint.Builder lastActiveDefinition(Consumer<LastActiveDefinition.Builder> lastActiveDefinition)
When there are multiple versions of a blueprint and the latest version has some errors, this attribute indicates the last successful blueprint definition that is available with the service.
This is a convenience method that creates an instance of theLastActiveDefinition.Builderavoiding the need to create one manually viaLastActiveDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolastActiveDefinition(LastActiveDefinition).- Parameters:
lastActiveDefinition- a consumer that will call methods onLastActiveDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
lastActiveDefinition(LastActiveDefinition)
-
-