Package com.pulumi.aws.rds.inputs
Class GetSnapshotPlainArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.rds.inputs.GetSnapshotPlainArgs.Builder
-
- Enclosing class:
- GetSnapshotPlainArgs
public static final class GetSnapshotPlainArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(GetSnapshotPlainArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetSnapshotPlainArgs
build()
GetSnapshotPlainArgs.Builder
dbInstanceIdentifier(java.lang.String dbInstanceIdentifier)
GetSnapshotPlainArgs.Builder
dbSnapshotIdentifier(java.lang.String dbSnapshotIdentifier)
GetSnapshotPlainArgs.Builder
includePublic(java.lang.Boolean includePublic)
GetSnapshotPlainArgs.Builder
includeShared(java.lang.Boolean includeShared)
GetSnapshotPlainArgs.Builder
mostRecent(java.lang.Boolean mostRecent)
GetSnapshotPlainArgs.Builder
snapshotType(java.lang.String snapshotType)
GetSnapshotPlainArgs.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GetSnapshotPlainArgs defaults)
-
-
Method Detail
-
dbInstanceIdentifier
public GetSnapshotPlainArgs.Builder dbInstanceIdentifier(@Nullable java.lang.String dbInstanceIdentifier)
- Parameters:
dbInstanceIdentifier
- Returns the list of snapshots created by the specific db_instance- Returns:
- builder
-
dbSnapshotIdentifier
public GetSnapshotPlainArgs.Builder dbSnapshotIdentifier(@Nullable java.lang.String dbSnapshotIdentifier)
- Parameters:
dbSnapshotIdentifier
- Returns information on a specific snapshot_id.- Returns:
- builder
-
includePublic
public GetSnapshotPlainArgs.Builder includePublic(@Nullable 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 GetSnapshotPlainArgs.Builder includeShared(@Nullable 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 GetSnapshotPlainArgs.Builder mostRecent(@Nullable java.lang.Boolean mostRecent)
- Parameters:
mostRecent
- If more than one result is returned, use the most recent Snapshot.- Returns:
- builder
-
snapshotType
public GetSnapshotPlainArgs.Builder snapshotType(@Nullable 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 GetSnapshotPlainArgs.Builder tags(@Nullable 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.- Returns:
- builder
-
build
public GetSnapshotPlainArgs build()
-
-