Interface Blueprint.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Blueprint.Builder,
,Blueprint> SdkBuilder<Blueprint.Builder,
,Blueprint> SdkPojo
- Enclosing class:
Blueprint
-
Method Summary
Modifier and TypeMethodDescriptionblueprintLocation
(String blueprintLocation) Specifies the path in Amazon S3 where the blueprint is published.blueprintServiceLocation
(String blueprintServiceLocation) Specifies a path in Amazon S3 where the blueprint is copied when you callCreateBlueprint/UpdateBlueprint
to register the blueprint in Glue.The date and time the blueprint was registered.description
(String description) The description of the blueprint.errorMessage
(String errorMessage) An error message.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.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.lastModifiedOn
(Instant lastModifiedOn) The date and time the blueprint was last modified.The name of the blueprint.parameterSpec
(String parameterSpec) A JSON string that indicates the list of parameter specifications for the blueprint.The status of the blueprint registration.status
(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 Details
-
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
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
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
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
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
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
Specifies a path in Amazon S3 where the blueprint is copied when you call
CreateBlueprint/UpdateBlueprint
to register the blueprint in Glue.- Parameters:
blueprintServiceLocation
- Specifies a path in Amazon S3 where the blueprint is copied when you callCreateBlueprint/UpdateBlueprint
to register the blueprint in Glue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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:
-
-
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:
-
-
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
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.Builder
avoiding the need to create one manually viaLastActiveDefinition.builder()
.When the
Consumer
completes,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:
-