ReplicaProperties Class
- java.
lang. Object - com.
azure. resourcemanager. appcontainers. fluent. models. ReplicaProperties
- com.
Implements
public final class ReplicaProperties
implements JsonSerializable<ReplicaProperties>
Replica resource specific properties.
Constructor Summary
| Constructor | Description |
|---|---|
| ReplicaProperties() |
Creates an instance of Replica |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Replica |
containers()
Get the containers property: The containers collection under a replica. |
|
Offset |
createdTime()
Get the created |
|
static
Replica |
fromJson(JsonReader jsonReader)
Reads an instance of Replica |
|
List<Replica |
initContainers()
Get the init |
|
Container |
runningState()
Get the running |
| String |
runningStateDetails()
Get the running |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Replica |
withContainers(List<ReplicaContainer> containers)
Set the containers property: The containers collection under a replica. |
|
Replica |
withInitContainers(List<ReplicaContainer> initContainers)
Set the init |
Methods inherited from java.lang.Object
Constructor Details
ReplicaProperties
public ReplicaProperties()
Creates an instance of ReplicaProperties class.
Method Details
containers
public List<ReplicaContainer> containers()
Get the containers property: The containers collection under a replica.
Returns:
createdTime
public OffsetDateTime createdTime()
Get the createdTime property: Timestamp describing when the pod was created by controller.
Returns:
fromJson
public static ReplicaProperties fromJson(JsonReader jsonReader)
Reads an instance of ReplicaProperties from the JsonReader.
Parameters:
Returns:
Throws:
initContainers
public List<ReplicaContainer> initContainers()
Get the initContainers property: The init containers collection under a replica.
Returns:
runningState
public ContainerAppReplicaRunningState runningState()
Get the runningState property: Current running state of the replica.
Returns:
runningStateDetails
public String runningStateDetails()
Get the runningStateDetails property: The details of replica current running state.
Returns:
toJson
validate
public void validate()
Validates the instance.
withContainers
public ReplicaProperties withContainers(List<ReplicaContainer> containers)
Set the containers property: The containers collection under a replica.
Parameters:
Returns:
withInitContainers
public ReplicaProperties withInitContainers(List<ReplicaContainer> initContainers)
Set the initContainers property: The init containers collection under a replica.
Parameters:
Returns: