Package com.pulumi.aws.rds.inputs
Class GetSnapshotArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.rds.inputs.GetSnapshotArgs.Builder
-
- Enclosing class:
- GetSnapshotArgs
public static final class GetSnapshotArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(GetSnapshotArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetSnapshotArgsbuild()GetSnapshotArgs.BuilderdbInstanceIdentifier(com.pulumi.core.Output<java.lang.String> dbInstanceIdentifier)GetSnapshotArgs.BuilderdbInstanceIdentifier(java.lang.String dbInstanceIdentifier)GetSnapshotArgs.BuilderdbSnapshotIdentifier(com.pulumi.core.Output<java.lang.String> dbSnapshotIdentifier)GetSnapshotArgs.BuilderdbSnapshotIdentifier(java.lang.String dbSnapshotIdentifier)GetSnapshotArgs.BuilderincludePublic(com.pulumi.core.Output<java.lang.Boolean> includePublic)GetSnapshotArgs.BuilderincludePublic(java.lang.Boolean includePublic)GetSnapshotArgs.BuilderincludeShared(com.pulumi.core.Output<java.lang.Boolean> includeShared)GetSnapshotArgs.BuilderincludeShared(java.lang.Boolean includeShared)GetSnapshotArgs.BuildermostRecent(com.pulumi.core.Output<java.lang.Boolean> mostRecent)GetSnapshotArgs.BuildermostRecent(java.lang.Boolean mostRecent)GetSnapshotArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)GetSnapshotArgs.Builderregion(java.lang.String region)GetSnapshotArgs.BuildersnapshotType(com.pulumi.core.Output<java.lang.String> snapshotType)GetSnapshotArgs.BuildersnapshotType(java.lang.String snapshotType)GetSnapshotArgs.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)GetSnapshotArgs.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GetSnapshotArgs defaults)
-
-
Method Detail
-
dbInstanceIdentifier
public GetSnapshotArgs.Builder dbInstanceIdentifier(@Nullable com.pulumi.core.Output<java.lang.String> dbInstanceIdentifier)
- Parameters:
dbInstanceIdentifier- Returns the list of snapshots created by the specific db_instance.- Returns:
- builder
-
dbInstanceIdentifier
public GetSnapshotArgs.Builder dbInstanceIdentifier(java.lang.String dbInstanceIdentifier)
- Parameters:
dbInstanceIdentifier- Returns the list of snapshots created by the specific db_instance.- Returns:
- builder
-
dbSnapshotIdentifier
public GetSnapshotArgs.Builder dbSnapshotIdentifier(@Nullable com.pulumi.core.Output<java.lang.String> dbSnapshotIdentifier)
- Parameters:
dbSnapshotIdentifier- Returns information on a specific snapshot_id.- Returns:
- builder
-
dbSnapshotIdentifier
public GetSnapshotArgs.Builder dbSnapshotIdentifier(java.lang.String dbSnapshotIdentifier)
- Parameters:
dbSnapshotIdentifier- Returns information on a specific snapshot_id.- Returns:
- builder
-
includePublic
public GetSnapshotArgs.Builder includePublic(@Nullable com.pulumi.core.Output<java.lang.Boolean> includePublic)
- Parameters:
includePublic- Set this value to true to include manual DB snapshots that are public and can be copied or restored by any AWS account, otherwise set this value to false. The default is `false`.- Returns:
- builder
-
includePublic
public GetSnapshotArgs.Builder includePublic(java.lang.Boolean includePublic)
- Parameters:
includePublic- Set this value to true to include manual DB snapshots that are public and can be copied or restored by any AWS account, otherwise set this value to false. The default is `false`.- Returns:
- builder
-
includeShared
public GetSnapshotArgs.Builder includeShared(@Nullable com.pulumi.core.Output<java.lang.Boolean> includeShared)
- Parameters:
includeShared- Set this value to true to include shared manual DB snapshots from other AWS accounts that this AWS account has been given permission to copy or restore, otherwise set this value to false. The default is `false`.- Returns:
- builder
-
includeShared
public GetSnapshotArgs.Builder includeShared(java.lang.Boolean includeShared)
- Parameters:
includeShared- Set this value to true to include shared manual DB snapshots from other AWS accounts that this AWS account has been given permission to copy or restore, otherwise set this value to false. The default is `false`.- Returns:
- builder
-
mostRecent
public GetSnapshotArgs.Builder mostRecent(@Nullable com.pulumi.core.Output<java.lang.Boolean> mostRecent)
- Parameters:
mostRecent- If more than one result is returned, use the most recent Snapshot.- Returns:
- builder
-
mostRecent
public GetSnapshotArgs.Builder mostRecent(java.lang.Boolean mostRecent)
- Parameters:
mostRecent- If more than one result is returned, use the most recent Snapshot.- Returns:
- builder
-
region
public GetSnapshotArgs.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public GetSnapshotArgs.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
snapshotType
public GetSnapshotArgs.Builder snapshotType(@Nullable com.pulumi.core.Output<java.lang.String> snapshotType)
- Parameters:
snapshotType- Type of snapshots to be returned. If you don't specify a SnapshotType value, then both automated and manual snapshots are returned. Shared and public DB snapshots are not included in the returned results by default. Possible values are, `automated`, `manual`, `shared`, `public` and `awsbackup`.- Returns:
- builder
-
snapshotType
public GetSnapshotArgs.Builder snapshotType(java.lang.String snapshotType)
- Parameters:
snapshotType- Type of snapshots to be returned. If you don't specify a SnapshotType value, then both automated and manual snapshots are returned. Shared and public DB snapshots are not included in the returned results by default. Possible values are, `automated`, `manual`, `shared`, `public` and `awsbackup`.- Returns:
- builder
-
tags
public GetSnapshotArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- Mapping of tags, each pair of which must exactly match a pair on the desired DB snapshot. > **NOTE:** One of either `dbInstanceIdentifier` or `dbSnapshotIdentifier` is required.- Returns:
- builder
-
tags
public GetSnapshotArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Mapping of tags, each pair of which must exactly match a pair on the desired DB snapshot. > **NOTE:** One of either `dbInstanceIdentifier` or `dbSnapshotIdentifier` is required.- Returns:
- builder
-
build
public GetSnapshotArgs build()
-
-