All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.securityhub.model.AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS SecurityHub module holds the client classes that are used for communicating with AWS SecurityHub Service

The newest version!
/*
 * Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.securityhub.model;

import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 * 

* The Linux capabilities for the container that are added to or dropped from the default configuration provided by * Docker. *

* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails implements Serializable, Cloneable, StructuredPojo { /** *

* The Linux capabilities for the container that are added to the default configuration provided by Docker. Valid * values are as follows: *

*

* Valid values: "ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | * "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | * "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | * "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | * "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | * "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" * | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | * "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | * "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | "SYS_RESOURCE" | * "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM" *

*/ private java.util.List add; /** *

* The Linux capabilities for the container that are dropped from the default configuration provided by Docker. *

*

* Valid values: "ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | * "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | * "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | * "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | * "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | * "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" * | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | * "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | * "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | "SYS_RESOURCE" | * "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM" *

*/ private java.util.List drop; /** *

* The Linux capabilities for the container that are added to the default configuration provided by Docker. Valid * values are as follows: *

*

* Valid values: "ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | * "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | * "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | * "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | * "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | * "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" * | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | * "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | * "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | "SYS_RESOURCE" | * "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM" *

* * @return The Linux capabilities for the container that are added to the default configuration provided by Docker. * Valid values are as follows:

*

* Valid values: "ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | * "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | * "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" * | "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" * | "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | * "NET_ADMIN" | "NET_BIND_SERVICE" | "NET_BROADCAST" | * "NET_RAW" | "SETFCAP" | "SETGID" | "SETPCAP" | * "SETUID" | "SYS_ADMIN" | "SYS_BOOT" | "SYS_CHROOT" | * "SYS_MODULE" | "SYS_NICE" | "SYS_PACCT" | * "SYS_PTRACE" | "SYS_RAWIO" | "SYS_RESOURCE" | * "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | * "WAKE_ALARM" */ public java.util.List getAdd() { return add; } /** *

* The Linux capabilities for the container that are added to the default configuration provided by Docker. Valid * values are as follows: *

*

* Valid values: "ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | * "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | * "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | * "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | * "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | * "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" * | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | * "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | * "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | "SYS_RESOURCE" | * "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM" *

* * @param add * The Linux capabilities for the container that are added to the default configuration provided by Docker. * Valid values are as follows:

*

* Valid values: "ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | * "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | * "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | * "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | * "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | * "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | * "SETFCAP" | "SETGID" | "SETPCAP" | "SETUID" | * "SYS_ADMIN" | "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" * | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | * "SYS_RAWIO" | "SYS_RESOURCE" | "SYS_TIME" | * "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM" */ public void setAdd(java.util.Collection add) { if (add == null) { this.add = null; return; } this.add = new java.util.ArrayList(add); } /** *

* The Linux capabilities for the container that are added to the default configuration provided by Docker. Valid * values are as follows: *

*

* Valid values: "ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | * "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | * "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | * "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | * "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | * "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" * | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | * "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | * "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | "SYS_RESOURCE" | * "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM" *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setAdd(java.util.Collection)} or {@link #withAdd(java.util.Collection)} if you want to override the * existing values. *

* * @param add * The Linux capabilities for the container that are added to the default configuration provided by Docker. * Valid values are as follows:

*

* Valid values: "ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | * "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | * "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | * "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | * "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | * "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | * "SETFCAP" | "SETGID" | "SETPCAP" | "SETUID" | * "SYS_ADMIN" | "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" * | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | * "SYS_RAWIO" | "SYS_RESOURCE" | "SYS_TIME" | * "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM" * @return Returns a reference to this object so that method calls can be chained together. */ public AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails withAdd(String... add) { if (this.add == null) { setAdd(new java.util.ArrayList(add.length)); } for (String ele : add) { this.add.add(ele); } return this; } /** *

* The Linux capabilities for the container that are added to the default configuration provided by Docker. Valid * values are as follows: *

*

* Valid values: "ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | * "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | * "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | * "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | * "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | * "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" * | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | * "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | * "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | "SYS_RESOURCE" | * "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM" *

* * @param add * The Linux capabilities for the container that are added to the default configuration provided by Docker. * Valid values are as follows:

*

* Valid values: "ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | * "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | * "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | * "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | * "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | * "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | * "SETFCAP" | "SETGID" | "SETPCAP" | "SETUID" | * "SYS_ADMIN" | "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" * | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | * "SYS_RAWIO" | "SYS_RESOURCE" | "SYS_TIME" | * "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM" * @return Returns a reference to this object so that method calls can be chained together. */ public AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails withAdd(java.util.Collection add) { setAdd(add); return this; } /** *

* The Linux capabilities for the container that are dropped from the default configuration provided by Docker. *

*

* Valid values: "ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | * "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | * "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | * "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | * "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | * "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" * | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | * "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | * "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | "SYS_RESOURCE" | * "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM" *

* * @return The Linux capabilities for the container that are dropped from the default configuration provided by * Docker.

*

* Valid values: "ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | * "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | * "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" * | "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" * | "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | * "NET_ADMIN" | "NET_BIND_SERVICE" | "NET_BROADCAST" | * "NET_RAW" | "SETFCAP" | "SETGID" | "SETPCAP" | * "SETUID" | "SYS_ADMIN" | "SYS_BOOT" | "SYS_CHROOT" | * "SYS_MODULE" | "SYS_NICE" | "SYS_PACCT" | * "SYS_PTRACE" | "SYS_RAWIO" | "SYS_RESOURCE" | * "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | * "WAKE_ALARM" */ public java.util.List getDrop() { return drop; } /** *

* The Linux capabilities for the container that are dropped from the default configuration provided by Docker. *

*

* Valid values: "ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | * "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | * "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | * "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | * "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | * "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" * | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | * "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | * "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | "SYS_RESOURCE" | * "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM" *

* * @param drop * The Linux capabilities for the container that are dropped from the default configuration provided by * Docker.

*

* Valid values: "ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | * "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | * "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | * "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | * "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | * "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | * "SETFCAP" | "SETGID" | "SETPCAP" | "SETUID" | * "SYS_ADMIN" | "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" * | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | * "SYS_RAWIO" | "SYS_RESOURCE" | "SYS_TIME" | * "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM" */ public void setDrop(java.util.Collection drop) { if (drop == null) { this.drop = null; return; } this.drop = new java.util.ArrayList(drop); } /** *

* The Linux capabilities for the container that are dropped from the default configuration provided by Docker. *

*

* Valid values: "ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | * "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | * "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | * "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | * "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | * "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" * | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | * "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | * "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | "SYS_RESOURCE" | * "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM" *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setDrop(java.util.Collection)} or {@link #withDrop(java.util.Collection)} if you want to override the * existing values. *

* * @param drop * The Linux capabilities for the container that are dropped from the default configuration provided by * Docker.

*

* Valid values: "ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | * "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | * "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | * "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | * "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | * "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | * "SETFCAP" | "SETGID" | "SETPCAP" | "SETUID" | * "SYS_ADMIN" | "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" * | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | * "SYS_RAWIO" | "SYS_RESOURCE" | "SYS_TIME" | * "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM" * @return Returns a reference to this object so that method calls can be chained together. */ public AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails withDrop(String... drop) { if (this.drop == null) { setDrop(new java.util.ArrayList(drop.length)); } for (String ele : drop) { this.drop.add(ele); } return this; } /** *

* The Linux capabilities for the container that are dropped from the default configuration provided by Docker. *

*

* Valid values: "ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | * "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | * "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | * "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | * "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | * "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | "SETFCAP" * | "SETGID" | "SETPCAP" | "SETUID" | "SYS_ADMIN" | * "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" | "SYS_NICE" | * "SYS_PACCT" | "SYS_PTRACE" | "SYS_RAWIO" | "SYS_RESOURCE" | * "SYS_TIME" | "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM" *

* * @param drop * The Linux capabilities for the container that are dropped from the default configuration provided by * Docker.

*

* Valid values: "ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" | * "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | * "DAC_READ_SEARCH" | "FOWNER" | "FSETID" | "IPC_LOCK" | * "IPC_OWNER" | "KILL" | "LEASE" | "LINUX_IMMUTABLE" | * "MAC_ADMIN" | "MAC_OVERRIDE" | "MKNOD" | "NET_ADMIN" | * "NET_BIND_SERVICE" | "NET_BROADCAST" | "NET_RAW" | * "SETFCAP" | "SETGID" | "SETPCAP" | "SETUID" | * "SYS_ADMIN" | "SYS_BOOT" | "SYS_CHROOT" | "SYS_MODULE" * | "SYS_NICE" | "SYS_PACCT" | "SYS_PTRACE" | * "SYS_RAWIO" | "SYS_RESOURCE" | "SYS_TIME" | * "SYS_TTY_CONFIG" | "SYSLOG" | "WAKE_ALARM" * @return Returns a reference to this object so that method calls can be chained together. */ public AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails withDrop(java.util.Collection drop) { setDrop(drop); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getAdd() != null) sb.append("Add: ").append(getAdd()).append(","); if (getDrop() != null) sb.append("Drop: ").append(getDrop()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails == false) return false; AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails other = (AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails) obj; if (other.getAdd() == null ^ this.getAdd() == null) return false; if (other.getAdd() != null && other.getAdd().equals(this.getAdd()) == false) return false; if (other.getDrop() == null ^ this.getDrop() == null) return false; if (other.getDrop() != null && other.getDrop().equals(this.getDrop()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAdd() == null) ? 0 : getAdd().hashCode()); hashCode = prime * hashCode + ((getDrop() == null) ? 0 : getDrop().hashCode()); return hashCode; } @Override public AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails clone() { try { return (AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.securityhub.model.transform.AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetailsMarshaller.getInstance() .marshall(this, protocolMarshaller); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy