@Internal public static final class IPodSpec.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements IPodSpec.Jsii$Default
software.amazon.jsii.JsiiObject.InitializationModeIPodSpec.Jsii$Default, IPodSpec.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Container |
addContainer(ContainerProps container)
Add a container to the pod.
|
void |
addVolume(Volume volume)
Add a volume to the pod.
|
List<Container> |
getContainers()
The containers belonging to the pod.
|
RestartPolicy |
getRestartPolicy()
Restart policy for all containers within the pod.
|
IServiceAccount |
getServiceAccount()
The service account used to run this pod.
|
List<Volume> |
getVolumes()
The volumes associated with this pod.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) @NotNull public final List<Container> getContainers()
Use addContainer to add containers.
getContainers in interface IPodSpecgetContainers in interface IPodSpec.Jsii$Default@Stability(value=Stable) @NotNull public final List<Volume> getVolumes()
Use addVolume to add volumes.
getVolumes in interface IPodSpecgetVolumes in interface IPodSpec.Jsii$Default@Stability(value=Stable) @Nullable public final RestartPolicy getRestartPolicy()
getRestartPolicy in interface IPodSpecgetRestartPolicy in interface IPodSpec.Jsii$Default@Stability(value=Stable) @Nullable public final IServiceAccount getServiceAccount()
getServiceAccount in interface IPodSpecgetServiceAccount in interface IPodSpec.Jsii$Default@Stability(value=Stable) @NotNull public final Container addContainer(@NotNull ContainerProps container)
addContainer in interface IPodSpecaddContainer in interface IPodSpec.Jsii$Defaultcontainer - The container. This parameter is required.@Stability(value=Stable)
public final void addVolume(@NotNull
Volume volume)
addVolume in interface IPodSpecaddVolume in interface IPodSpec.Jsii$Defaultvolume - The volume. This parameter is required.Copyright © 2021. All rights reserved.