RedisRebootParameters Class
- java.
lang. Object - com.
azure. resourcemanager. redis. models. RedisRebootParameters
- com.
public final class RedisRebootParameters
Specifies which Redis node(s) to reboot.
Constructor Summary
Constructor | Description |
---|---|
RedisRebootParameters() |
Creates an instance of Redis |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Integer> |
ports()
Get the ports property: A list of redis instances to reboot, specified by per-instance SSL ports or non-SSL ports. |
Reboot |
rebootType()
Get the reboot |
Integer |
shardId()
Get the shard |
void |
validate()
Validates the instance. |
Redis |
withPorts(List<Integer> ports)
Set the ports property: A list of redis instances to reboot, specified by per-instance SSL ports or non-SSL ports. |
Redis |
withRebootType(RebootType rebootType)
Set the reboot |
Redis |
withShardId(Integer shardId)
Set the shard |
Methods inherited from java.lang.Object
Constructor Details
RedisRebootParameters
public RedisRebootParameters()
Creates an instance of RedisRebootParameters class.
Method Details
ports
public List
Get the ports property: A list of redis instances to reboot, specified by per-instance SSL ports or non-SSL ports.
Returns:
rebootType
public RebootType rebootType()
Get the rebootType property: Which Redis node(s) to reboot. Depending on this value data loss is possible.
Returns:
shardId
public Integer shardId()
Get the shardId property: If clustering is enabled, the ID of the shard to be rebooted.
Returns:
validate
public void validate()
Validates the instance.
withPorts
public RedisRebootParameters withPorts(List
Set the ports property: A list of redis instances to reboot, specified by per-instance SSL ports or non-SSL ports.
Parameters:
Returns:
withRebootType
public RedisRebootParameters withRebootType(RebootType rebootType)
Set the rebootType property: Which Redis node(s) to reboot. Depending on this value data loss is possible.
Parameters:
Returns:
withShardId
public RedisRebootParameters withShardId(Integer shardId)
Set the shardId property: If clustering is enabled, the ID of the shard to be rebooted.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for