Class ReplicaProperties
- java.lang.Object
-
- com.azure.resourcemanager.appcontainers.fluent.models.ReplicaProperties
-
public final class ReplicaProperties extends Object
Replica resource specific properties.
-
-
Constructor Summary
Constructors Constructor Description ReplicaProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ReplicaContainer>
containers()
Get the containers property: The containers collection under a replica.OffsetDateTime
createdTime()
Get the createdTime property: Timestamp describing when the pod was created by controller.void
validate()
Validates the instance.ReplicaProperties
withContainers(List<ReplicaContainer> containers)
Set the containers property: The containers collection under a replica.
-
-
-
Method Detail
-
createdTime
public OffsetDateTime createdTime()
Get the createdTime property: Timestamp describing when the pod was created by controller.- Returns:
- the createdTime value.
-
containers
public List<ReplicaContainer> containers()
Get the containers property: The containers collection under a replica.- Returns:
- the containers value.
-
withContainers
public ReplicaProperties withContainers(List<ReplicaContainer> containers)
Set the containers property: The containers collection under a replica.- Parameters:
containers
- the containers value to set.- Returns:
- the ReplicaProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-