Class ReplicaInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appcontainers.fluent.models.ReplicaInner
public final class ReplicaInner
extends com.azure.core.management.ProxyResource
Container App Revision Replica.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the containers property: The containers collection under a replica.Get the createdTime property: Timestamp describing when the pod was created by controller.com.azure.core.management.SystemData
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.void
validate()
Validates the instance.withContainers
(List<ReplicaContainer> containers) Set the containers property: The containers collection under a replica.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ReplicaInner
public ReplicaInner()Creates an instance of ReplicaInner class.
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
createdTime
Get the createdTime property: Timestamp describing when the pod was created by controller.- Returns:
- the createdTime value.
-
containers
Get the containers property: The containers collection under a replica.- Returns:
- the containers value.
-
withContainers
Set the containers property: The containers collection under a replica.- Parameters:
containers
- the containers value to set.- Returns:
- the ReplicaInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-