public static interface ContainerDetails.Builder extends SdkPojo, CopyableBuilder<ContainerDetails.Builder,ContainerDetails>
| Modifier and Type | Method and Description |
|---|---|
ContainerDetails.Builder |
containerRuntime(String containerRuntime)
The runtime of the container.
|
ContainerDetails.Builder |
imageId(String imageId)
The identifier of the container image related to a finding.
|
ContainerDetails.Builder |
imageName(String imageName)
The name of the container image related to a finding.
|
ContainerDetails.Builder |
launchedAt(String launchedAt)
Indicates when the container started.
|
ContainerDetails.Builder |
name(String name)
The name of the container related to a finding.
|
ContainerDetails.Builder |
privileged(Boolean privileged)
When this parameter is
true, the container is given elevated privileges on the host container
instance (similar to the root user). |
ContainerDetails.Builder |
volumeMounts(Collection<VolumeMount> volumeMounts)
Provides information about the mounting of a volume in a container.
|
ContainerDetails.Builder |
volumeMounts(Consumer<VolumeMount.Builder>... volumeMounts)
Provides information about the mounting of a volume in a container.
|
ContainerDetails.Builder |
volumeMounts(VolumeMount... volumeMounts)
Provides information about the mounting of a volume in a container.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildContainerDetails.Builder containerRuntime(String containerRuntime)
The runtime of the container.
containerRuntime - The runtime of the container.ContainerDetails.Builder name(String name)
The name of the container related to a finding.
name - The name of the container related to a finding.ContainerDetails.Builder imageId(String imageId)
The identifier of the container image related to a finding.
imageId - The identifier of the container image related to a finding.ContainerDetails.Builder imageName(String imageName)
The name of the container image related to a finding.
imageName - The name of the container image related to a finding.ContainerDetails.Builder launchedAt(String launchedAt)
Indicates when the container started.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format.
The value cannot contain spaces, and date and time should be separated by T. For example,
2020-03-22T13:22:13.933Z.
launchedAt - Indicates when the container started.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces, and date and time should be separated by T.
For example, 2020-03-22T13:22:13.933Z.
ContainerDetails.Builder volumeMounts(Collection<VolumeMount> volumeMounts)
Provides information about the mounting of a volume in a container.
volumeMounts - Provides information about the mounting of a volume in a container.ContainerDetails.Builder volumeMounts(VolumeMount... volumeMounts)
Provides information about the mounting of a volume in a container.
volumeMounts - Provides information about the mounting of a volume in a container.ContainerDetails.Builder volumeMounts(Consumer<VolumeMount.Builder>... volumeMounts)
Provides information about the mounting of a volume in a container.
This is a convenience method that creates an instance of theVolumeMount.Builder avoiding the need to create one
manually via VolumeMount.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #volumeMounts(List.
volumeMounts - a consumer that will call methods on
VolumeMount.Builder#volumeMounts(java.util.Collection) ContainerDetails.Builder privileged(Boolean privileged)
When this parameter is true, the container is given elevated privileges on the host container
instance (similar to the root user).
privileged - When this parameter is true, the container is given elevated privileges on the host
container instance (similar to the root user).Copyright © 2023. All rights reserved.