Class GetSnapshotsArgs.Builder

  • Enclosing class:
    GetSnapshotsArgs

    public static final class GetSnapshotsArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • dbInstanceIdentifier

        public GetSnapshotsArgs.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 GetSnapshotsArgs.Builder dbInstanceIdentifier​(java.lang.String dbInstanceIdentifier)
        Parameters:
        dbInstanceIdentifier - Returns the list of snapshots created by the specific db_instance.
        Returns:
        builder
      • dbSnapshotIdentifier

        public GetSnapshotsArgs.Builder dbSnapshotIdentifier​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> dbSnapshotIdentifier)
        Parameters:
        dbSnapshotIdentifier - Returns information on a specific snapshot_id.
        Returns:
        builder
      • dbSnapshotIdentifier

        public GetSnapshotsArgs.Builder dbSnapshotIdentifier​(java.lang.String dbSnapshotIdentifier)
        Parameters:
        dbSnapshotIdentifier - Returns information on a specific snapshot_id.
        Returns:
        builder
      • filters

        public GetSnapshotsArgs.Builder filters​(@Nullable
                                                com.pulumi.core.Output<java.util.List<GetSnapshotsFilterArgs>> filters)
        Parameters:
        filters - Configuration block(s) used to filter snapshots with AWS supported attributes. Detailed below.
        Returns:
        builder
      • filters

        public GetSnapshotsArgs.Builder filters​(java.util.List<GetSnapshotsFilterArgs> filters)
        Parameters:
        filters - Configuration block(s) used to filter snapshots with AWS supported attributes. Detailed below.
        Returns:
        builder
      • includePublic

        public GetSnapshotsArgs.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 GetSnapshotsArgs.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 GetSnapshotsArgs.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 GetSnapshotsArgs.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
      • region

        public GetSnapshotsArgs.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 GetSnapshotsArgs.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 GetSnapshotsArgs.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 GetSnapshotsArgs.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