@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContainerDetails extends Object implements Serializable, Cloneable, StructuredPojo
Container details related to a finding.
Constructor and Description |
---|
ContainerDetails() |
Modifier and Type | Method and Description |
---|---|
ContainerDetails |
clone() |
boolean |
equals(Object obj) |
String |
getContainerRuntime()
The runtime of the container.
|
String |
getImageId()
The identifier of the container image related to a finding.
|
String |
getImageName()
The name of the container image related to a finding.
|
String |
getLaunchedAt()
Indicates when the container started.
|
String |
getName()
The name of the container related to a finding.
|
Boolean |
getPrivileged()
When this parameter is
true , the container is given elevated privileges on the host container
instance (similar to the root user). |
List<VolumeMount> |
getVolumeMounts()
Provides information about the mounting of a volume in a container.
|
int |
hashCode() |
Boolean |
isPrivileged()
When this parameter is
true , the container is given elevated privileges on the host container
instance (similar to the root user). |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContainerRuntime(String containerRuntime)
The runtime of the container.
|
void |
setImageId(String imageId)
The identifier of the container image related to a finding.
|
void |
setImageName(String imageName)
The name of the container image related to a finding.
|
void |
setLaunchedAt(String launchedAt)
Indicates when the container started.
|
void |
setName(String name)
The name of the container related to a finding.
|
void |
setPrivileged(Boolean privileged)
When this parameter is
true , the container is given elevated privileges on the host container
instance (similar to the root user). |
void |
setVolumeMounts(Collection<VolumeMount> volumeMounts)
Provides information about the mounting of a volume in a container.
|
String |
toString()
Returns a string representation of this object.
|
ContainerDetails |
withContainerRuntime(String containerRuntime)
The runtime of the container.
|
ContainerDetails |
withImageId(String imageId)
The identifier of the container image related to a finding.
|
ContainerDetails |
withImageName(String imageName)
The name of the container image related to a finding.
|
ContainerDetails |
withLaunchedAt(String launchedAt)
Indicates when the container started.
|
ContainerDetails |
withName(String name)
The name of the container related to a finding.
|
ContainerDetails |
withPrivileged(Boolean privileged)
When this parameter is
true , the container is given elevated privileges on the host container
instance (similar to the root user). |
ContainerDetails |
withVolumeMounts(Collection<VolumeMount> volumeMounts)
Provides information about the mounting of a volume in a container.
|
ContainerDetails |
withVolumeMounts(VolumeMount... volumeMounts)
Provides information about the mounting of a volume in a container.
|
public void setContainerRuntime(String containerRuntime)
The runtime of the container.
containerRuntime
- The runtime of the container.public String getContainerRuntime()
The runtime of the container.
public ContainerDetails withContainerRuntime(String containerRuntime)
The runtime of the container.
containerRuntime
- The runtime of the container.public void setName(String name)
The name of the container related to a finding.
name
- The name of the container related to a finding.public String getName()
The name of the container related to a finding.
public ContainerDetails withName(String name)
The name of the container related to a finding.
name
- The name of the container related to a finding.public void setImageId(String imageId)
The identifier of the container image related to a finding.
imageId
- The identifier of the container image related to a finding.public String getImageId()
The identifier of the container image related to a finding.
public ContainerDetails withImageId(String imageId)
The identifier of the container image related to a finding.
imageId
- The identifier of the container image related to a finding.public void setImageName(String imageName)
The name of the container image related to a finding.
imageName
- The name of the container image related to a finding.public String getImageName()
The name of the container image related to a finding.
public ContainerDetails withImageName(String imageName)
The name of the container image related to a finding.
imageName
- The name of the container image related to a finding.public void setLaunchedAt(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. 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. For example, 2020-03-22T13:22:13.933Z
.
public String getLaunchedAt()
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. For example,
2020-03-22T13:22:13.933Z
.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public ContainerDetails withLaunchedAt(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. 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. For example, 2020-03-22T13:22:13.933Z
.
public List<VolumeMount> getVolumeMounts()
Provides information about the mounting of a volume in a container.
public void setVolumeMounts(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.public ContainerDetails withVolumeMounts(VolumeMount... volumeMounts)
Provides information about the mounting of a volume in a container.
NOTE: This method appends the values to the existing list (if any). Use
setVolumeMounts(java.util.Collection)
or withVolumeMounts(java.util.Collection)
if you want to
override the existing values.
volumeMounts
- Provides information about the mounting of a volume in a container.public ContainerDetails withVolumeMounts(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.public void setPrivileged(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).public Boolean getPrivileged()
When this parameter is true
, the container is given elevated privileges on the host container
instance (similar to the root user).
true
, the container is given elevated privileges on the host
container instance (similar to the root user).public ContainerDetails withPrivileged(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).public Boolean isPrivileged()
When this parameter is true
, the container is given elevated privileges on the host container
instance (similar to the root user).
true
, the container is given elevated privileges on the host
container instance (similar to the root user).public String toString()
toString
in class Object
Object.toString()
public ContainerDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.