Class GlobalReplicationGroupState.Builder

    • Method Detail

      • arn

        public GlobalReplicationGroupState.Builder arn​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - The ARN of the ElastiCache Global Replication Group.
        Returns:
        builder
      • atRestEncryptionEnabled

        public GlobalReplicationGroupState.Builder atRestEncryptionEnabled​(@Nullable
                                                                           com.pulumi.core.Output<java.lang.Boolean> atRestEncryptionEnabled)
        Parameters:
        atRestEncryptionEnabled - A flag that indicate whether the encryption at rest is enabled.
        Returns:
        builder
      • atRestEncryptionEnabled

        public GlobalReplicationGroupState.Builder atRestEncryptionEnabled​(java.lang.Boolean atRestEncryptionEnabled)
        Parameters:
        atRestEncryptionEnabled - A flag that indicate whether the encryption at rest is enabled.
        Returns:
        builder
      • authTokenEnabled

        public GlobalReplicationGroupState.Builder authTokenEnabled​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.Boolean> authTokenEnabled)
        Parameters:
        authTokenEnabled - A flag that indicate whether AuthToken (password) is enabled.
        Returns:
        builder
      • authTokenEnabled

        public GlobalReplicationGroupState.Builder authTokenEnabled​(java.lang.Boolean authTokenEnabled)
        Parameters:
        authTokenEnabled - A flag that indicate whether AuthToken (password) is enabled.
        Returns:
        builder
      • automaticFailoverEnabled

        public GlobalReplicationGroupState.Builder automaticFailoverEnabled​(@Nullable
                                                                            com.pulumi.core.Output<java.lang.Boolean> automaticFailoverEnabled)
        Parameters:
        automaticFailoverEnabled - Specifies whether read-only replicas will be automatically promoted to read/write primary if the existing primary fails. When creating, by default the Global Replication Group inherits the automatic failover setting of the primary replication group.
        Returns:
        builder
      • automaticFailoverEnabled

        public GlobalReplicationGroupState.Builder automaticFailoverEnabled​(java.lang.Boolean automaticFailoverEnabled)
        Parameters:
        automaticFailoverEnabled - Specifies whether read-only replicas will be automatically promoted to read/write primary if the existing primary fails. When creating, by default the Global Replication Group inherits the automatic failover setting of the primary replication group.
        Returns:
        builder
      • cacheNodeType

        public GlobalReplicationGroupState.Builder cacheNodeType​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> cacheNodeType)
        Parameters:
        cacheNodeType - The instance class used. See AWS documentation for information on [supported node types](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html) and [guidance on selecting node types](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/nodes-select-size.html). When creating, by default the Global Replication Group inherits the node type of the primary replication group.
        Returns:
        builder
      • cacheNodeType

        public GlobalReplicationGroupState.Builder cacheNodeType​(java.lang.String cacheNodeType)
        Parameters:
        cacheNodeType - The instance class used. See AWS documentation for information on [supported node types](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html) and [guidance on selecting node types](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/nodes-select-size.html). When creating, by default the Global Replication Group inherits the node type of the primary replication group.
        Returns:
        builder
      • clusterEnabled

        public GlobalReplicationGroupState.Builder clusterEnabled​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.Boolean> clusterEnabled)
        Parameters:
        clusterEnabled - Indicates whether the Global Datastore is cluster enabled.
        Returns:
        builder
      • clusterEnabled

        public GlobalReplicationGroupState.Builder clusterEnabled​(java.lang.Boolean clusterEnabled)
        Parameters:
        clusterEnabled - Indicates whether the Global Datastore is cluster enabled.
        Returns:
        builder
      • engine

        public GlobalReplicationGroupState.Builder engine​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> engine)
        Parameters:
        engine - The name of the cache engine to be used for the clusters in this global replication group.
        Returns:
        builder
      • engine

        public GlobalReplicationGroupState.Builder engine​(java.lang.String engine)
        Parameters:
        engine - The name of the cache engine to be used for the clusters in this global replication group.
        Returns:
        builder
      • engineVersion

        public GlobalReplicationGroupState.Builder engineVersion​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> engineVersion)
        Parameters:
        engineVersion - Redis version to use for the Global Replication Group. When creating, by default the Global Replication Group inherits the version of the primary replication group. If a version is specified, the Global Replication Group and all member replication groups will be upgraded to this version. Cannot be downgraded without replacing the Global Replication Group and all member replication groups. When the version is 7 or higher, the major and minor version should be set, e.g., `7.2`. When the version is 6, the major and minor version can be set, e.g., `6.2`, or the minor version can be unspecified which will use the latest version at creation time, e.g., `6.x`. The actual engine version used is returned in the attribute `engine_version_actual`, see Attribute Reference below.
        Returns:
        builder
      • engineVersion

        public GlobalReplicationGroupState.Builder engineVersion​(java.lang.String engineVersion)
        Parameters:
        engineVersion - Redis version to use for the Global Replication Group. When creating, by default the Global Replication Group inherits the version of the primary replication group. If a version is specified, the Global Replication Group and all member replication groups will be upgraded to this version. Cannot be downgraded without replacing the Global Replication Group and all member replication groups. When the version is 7 or higher, the major and minor version should be set, e.g., `7.2`. When the version is 6, the major and minor version can be set, e.g., `6.2`, or the minor version can be unspecified which will use the latest version at creation time, e.g., `6.x`. The actual engine version used is returned in the attribute `engine_version_actual`, see Attribute Reference below.
        Returns:
        builder
      • engineVersionActual

        public GlobalReplicationGroupState.Builder engineVersionActual​(@Nullable
                                                                       com.pulumi.core.Output<java.lang.String> engineVersionActual)
        Parameters:
        engineVersionActual - The full version number of the cache engine running on the members of this global replication group.
        Returns:
        builder
      • engineVersionActual

        public GlobalReplicationGroupState.Builder engineVersionActual​(java.lang.String engineVersionActual)
        Parameters:
        engineVersionActual - The full version number of the cache engine running on the members of this global replication group.
        Returns:
        builder
      • globalReplicationGroupDescription

        public GlobalReplicationGroupState.Builder globalReplicationGroupDescription​(@Nullable
                                                                                     com.pulumi.core.Output<java.lang.String> globalReplicationGroupDescription)
        Parameters:
        globalReplicationGroupDescription - A user-created description for the global replication group.
        Returns:
        builder
      • globalReplicationGroupDescription

        public GlobalReplicationGroupState.Builder globalReplicationGroupDescription​(java.lang.String globalReplicationGroupDescription)
        Parameters:
        globalReplicationGroupDescription - A user-created description for the global replication group.
        Returns:
        builder
      • globalReplicationGroupId

        public GlobalReplicationGroupState.Builder globalReplicationGroupId​(@Nullable
                                                                            com.pulumi.core.Output<java.lang.String> globalReplicationGroupId)
        Parameters:
        globalReplicationGroupId - The full ID of the global replication group.
        Returns:
        builder
      • globalReplicationGroupId

        public GlobalReplicationGroupState.Builder globalReplicationGroupId​(java.lang.String globalReplicationGroupId)
        Parameters:
        globalReplicationGroupId - The full ID of the global replication group.
        Returns:
        builder
      • globalReplicationGroupIdSuffix

        public GlobalReplicationGroupState.Builder globalReplicationGroupIdSuffix​(@Nullable
                                                                                  com.pulumi.core.Output<java.lang.String> globalReplicationGroupIdSuffix)
        Parameters:
        globalReplicationGroupIdSuffix - The suffix name of a Global Datastore. If `global_replication_group_id_suffix` is changed, creates a new resource.
        Returns:
        builder
      • globalReplicationGroupIdSuffix

        public GlobalReplicationGroupState.Builder globalReplicationGroupIdSuffix​(java.lang.String globalReplicationGroupIdSuffix)
        Parameters:
        globalReplicationGroupIdSuffix - The suffix name of a Global Datastore. If `global_replication_group_id_suffix` is changed, creates a new resource.
        Returns:
        builder
      • numNodeGroups

        public GlobalReplicationGroupState.Builder numNodeGroups​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.Integer> numNodeGroups)
        Parameters:
        numNodeGroups - The number of node groups (shards) on the global replication group.
        Returns:
        builder
      • numNodeGroups

        public GlobalReplicationGroupState.Builder numNodeGroups​(java.lang.Integer numNodeGroups)
        Parameters:
        numNodeGroups - The number of node groups (shards) on the global replication group.
        Returns:
        builder
      • parameterGroupName

        public GlobalReplicationGroupState.Builder parameterGroupName​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.String> parameterGroupName)
        Parameters:
        parameterGroupName - An ElastiCache Parameter Group to use for the Global Replication Group. Required when upgrading a major engine version, but will be ignored if left configured after the upgrade is complete. Specifying without a major version upgrade will fail. Note that ElastiCache creates a copy of this parameter group for each member replication group.
        Returns:
        builder
      • parameterGroupName

        public GlobalReplicationGroupState.Builder parameterGroupName​(java.lang.String parameterGroupName)
        Parameters:
        parameterGroupName - An ElastiCache Parameter Group to use for the Global Replication Group. Required when upgrading a major engine version, but will be ignored if left configured after the upgrade is complete. Specifying without a major version upgrade will fail. Note that ElastiCache creates a copy of this parameter group for each member replication group.
        Returns:
        builder
      • primaryReplicationGroupId

        public GlobalReplicationGroupState.Builder primaryReplicationGroupId​(@Nullable
                                                                             com.pulumi.core.Output<java.lang.String> primaryReplicationGroupId)
        Parameters:
        primaryReplicationGroupId - The ID of the primary cluster that accepts writes and will replicate updates to the secondary cluster. If `primary_replication_group_id` is changed, creates a new resource.
        Returns:
        builder
      • primaryReplicationGroupId

        public GlobalReplicationGroupState.Builder primaryReplicationGroupId​(java.lang.String primaryReplicationGroupId)
        Parameters:
        primaryReplicationGroupId - The ID of the primary cluster that accepts writes and will replicate updates to the secondary cluster. If `primary_replication_group_id` is changed, creates a new resource.
        Returns:
        builder
      • transitEncryptionEnabled

        public GlobalReplicationGroupState.Builder transitEncryptionEnabled​(@Nullable
                                                                            com.pulumi.core.Output<java.lang.Boolean> transitEncryptionEnabled)
        Parameters:
        transitEncryptionEnabled - A flag that indicates whether the encryption in transit is enabled.
        Returns:
        builder
      • transitEncryptionEnabled

        public GlobalReplicationGroupState.Builder transitEncryptionEnabled​(java.lang.Boolean transitEncryptionEnabled)
        Parameters:
        transitEncryptionEnabled - A flag that indicates whether the encryption in transit is enabled.
        Returns:
        builder