Interface RelationalDatabaseSnapshot.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<RelationalDatabaseSnapshot.Builder,,- RelationalDatabaseSnapshot> - SdkBuilder<RelationalDatabaseSnapshot.Builder,,- RelationalDatabaseSnapshot> - SdkPojo
- Enclosing class:
- RelationalDatabaseSnapshot
- 
Method SummaryModifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the database snapshot.The timestamp when the database snapshot was created.The software of the database snapshot (for example,MySQL)engineVersion(String engineVersion) The database engine version for the database snapshot (for example,5.7.23).fromRelationalDatabaseArn(String fromRelationalDatabaseArn) The Amazon Resource Name (ARN) of the database from which the database snapshot was created.fromRelationalDatabaseBlueprintId(String fromRelationalDatabaseBlueprintId) The blueprint ID of the database from which the database snapshot was created.fromRelationalDatabaseBundleId(String fromRelationalDatabaseBundleId) The bundle ID of the database from which the database snapshot was created.fromRelationalDatabaseName(String fromRelationalDatabaseName) The name of the source database from which the database snapshot was created.location(Consumer<ResourceLocation.Builder> location) The Region name and Availability Zone where the database snapshot is located.location(ResourceLocation location) The Region name and Availability Zone where the database snapshot is located.The name of the database snapshot.resourceType(String resourceType) The Lightsail resource type.resourceType(ResourceType resourceType) The Lightsail resource type.The size of the disk in GB (for example,32) for the database snapshot.The state of the database snapshot.supportCode(String supportCode) The support code for the database snapshot.tags(Collection<Tag> tags) The tag keys and optional values for the resource.tags(Consumer<Tag.Builder>... tags) The tag keys and optional values for the resource.The tag keys and optional values for the resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
nameThe name of the database snapshot. - Parameters:
- name- The name of the database snapshot.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
arnThe Amazon Resource Name (ARN) of the database snapshot. - Parameters:
- arn- The Amazon Resource Name (ARN) of the database snapshot.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
supportCodeThe support code for the database snapshot. Include this code in your email to support when you have questions about a database snapshot in Lightsail. This code enables our support team to look up your Lightsail information more easily. - Parameters:
- supportCode- The support code for the database snapshot. Include this code in your email to support when you have questions about a database snapshot in Lightsail. This code enables our support team to look up your Lightsail information more easily.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
createdAtThe timestamp when the database snapshot was created. - Parameters:
- createdAt- The timestamp when the database snapshot was created.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
locationThe Region name and Availability Zone where the database snapshot is located. - Parameters:
- location- The Region name and Availability Zone where the database snapshot is located.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
locationThe Region name and Availability Zone where the database snapshot is located. This is a convenience method that creates an instance of theResourceLocation.Builderavoiding the need to create one manually viaResourceLocation.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolocation(ResourceLocation).- Parameters:
- location- a consumer that will call methods on- ResourceLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
resourceTypeThe Lightsail resource type. - Parameters:
- resourceType- The Lightsail resource type.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
resourceTypeThe Lightsail resource type. - Parameters:
- resourceType- The Lightsail resource type.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tagsThe tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide. - Parameters:
- tags- The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tagsThe tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide. - Parameters:
- tags- The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tagsThe tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide. This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
- tags- a consumer that will call methods on- Tag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
engineThe software of the database snapshot (for example, MySQL)- Parameters:
- engine- The software of the database snapshot (for example,- MySQL)
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
engineVersionThe database engine version for the database snapshot (for example, 5.7.23).- Parameters:
- engineVersion- The database engine version for the database snapshot (for example,- 5.7.23).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sizeInGbThe size of the disk in GB (for example, 32) for the database snapshot.- Parameters:
- sizeInGb- The size of the disk in GB (for example,- 32) for the database snapshot.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
stateThe state of the database snapshot. - Parameters:
- state- The state of the database snapshot.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
fromRelationalDatabaseNameThe name of the source database from which the database snapshot was created. - Parameters:
- fromRelationalDatabaseName- The name of the source database from which the database snapshot was created.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
fromRelationalDatabaseArnThe Amazon Resource Name (ARN) of the database from which the database snapshot was created. - Parameters:
- fromRelationalDatabaseArn- The Amazon Resource Name (ARN) of the database from which the database snapshot was created.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
fromRelationalDatabaseBundleIdRelationalDatabaseSnapshot.Builder fromRelationalDatabaseBundleId(String fromRelationalDatabaseBundleId) The bundle ID of the database from which the database snapshot was created. - Parameters:
- fromRelationalDatabaseBundleId- The bundle ID of the database from which the database snapshot was created.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
fromRelationalDatabaseBlueprintIdRelationalDatabaseSnapshot.Builder fromRelationalDatabaseBlueprintId(String fromRelationalDatabaseBlueprintId) The blueprint ID of the database from which the database snapshot was created. A blueprint describes the major engine version of a database. - Parameters:
- fromRelationalDatabaseBlueprintId- The blueprint ID of the database from which the database snapshot was created. A blueprint describes the major engine version of a database.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-