public CertificateDetail withInUseBy(String... inUseBy) {
        if (this.inUseBy == null) {
            setInUseBy(new java.util.ArrayList<String>(inUseBy.length));
        }
        for (String ele : inUseBy) {
            this.inUseBy.add(ele);
        }
        return this;
    }
public CertificateDetail withInUseBy ( String ... inUseBy ) { if ( this . inUseBy == null ) { setInUseBy ( new java . util . ArrayList < String > ( inUseBy . length ) ) ; } for ( String ele : inUseBy ) { this . inUseBy . add ( ele ) ; } return this ; }
<p>
A list of ARNs for the AWS resources that are using the certificate. A certificate can be used by multiple AWS
resources.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setInUseBy(java.util.Collection)} or {@link #withInUseBy(java.util.Collection)} if you want to override
the existing values.
</p>

@param inUseBy
A list of ARNs for the AWS resources that are using the certificate. A certificate can be used by multiple
AWS resources.
@return Returns a reference to this object so that method calls can be chained together.