public class ContainerPropertiesInstanceView extends Object
| Constructor and Description |
|---|
ContainerPropertiesInstanceView() |
| Modifier and Type | Method and Description |
|---|---|
ContainerState |
currentState()
Get the currentState value.
|
List<ContainerEvent> |
events()
Get the events value.
|
ContainerState |
previousState()
Get the previousState value.
|
Integer |
restartCount()
Get the restartCount value.
|
ContainerPropertiesInstanceView |
withCurrentState(ContainerState currentState)
Set the currentState value.
|
ContainerPropertiesInstanceView |
withEvents(List<ContainerEvent> events)
Set the events value.
|
ContainerPropertiesInstanceView |
withPreviousState(ContainerState previousState)
Set the previousState value.
|
ContainerPropertiesInstanceView |
withRestartCount(Integer restartCount)
Set the restartCount value.
|
public Integer restartCount()
public ContainerPropertiesInstanceView withRestartCount(Integer restartCount)
restartCount - the restartCount value to setpublic ContainerState currentState()
public ContainerPropertiesInstanceView withCurrentState(ContainerState currentState)
currentState - the currentState value to setpublic ContainerState previousState()
public ContainerPropertiesInstanceView withPreviousState(ContainerState previousState)
previousState - the previousState value to setpublic List<ContainerEvent> events()
public ContainerPropertiesInstanceView withEvents(List<ContainerEvent> events)
events - the events value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/