@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCisScanReportRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetCisScanReportRequest() |
Modifier and Type | Method and Description |
---|---|
GetCisScanReportRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getReportFormat()
The format of the report.
|
String |
getScanArn()
The scan ARN.
|
List<String> |
getTargetAccounts()
The target accounts.
|
int |
hashCode() |
void |
setReportFormat(String reportFormat)
The format of the report.
|
void |
setScanArn(String scanArn)
The scan ARN.
|
void |
setTargetAccounts(Collection<String> targetAccounts)
The target accounts.
|
String |
toString()
Returns a string representation of this object.
|
GetCisScanReportRequest |
withReportFormat(CisReportFormat reportFormat)
The format of the report.
|
GetCisScanReportRequest |
withReportFormat(String reportFormat)
The format of the report.
|
GetCisScanReportRequest |
withScanArn(String scanArn)
The scan ARN.
|
GetCisScanReportRequest |
withTargetAccounts(Collection<String> targetAccounts)
The target accounts.
|
GetCisScanReportRequest |
withTargetAccounts(String... targetAccounts)
The target accounts.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setReportFormat(String reportFormat)
The format of the report. Valid values are PDF
and CSV
. If no value is specified, the
report format defaults to PDF
.
reportFormat
- The format of the report. Valid values are PDF
and CSV
. If no value is
specified, the report format defaults to PDF
.CisReportFormat
public String getReportFormat()
The format of the report. Valid values are PDF
and CSV
. If no value is specified, the
report format defaults to PDF
.
PDF
and CSV
. If no value is
specified, the report format defaults to PDF
.CisReportFormat
public GetCisScanReportRequest withReportFormat(String reportFormat)
The format of the report. Valid values are PDF
and CSV
. If no value is specified, the
report format defaults to PDF
.
reportFormat
- The format of the report. Valid values are PDF
and CSV
. If no value is
specified, the report format defaults to PDF
.CisReportFormat
public GetCisScanReportRequest withReportFormat(CisReportFormat reportFormat)
The format of the report. Valid values are PDF
and CSV
. If no value is specified, the
report format defaults to PDF
.
reportFormat
- The format of the report. Valid values are PDF
and CSV
. If no value is
specified, the report format defaults to PDF
.CisReportFormat
public void setScanArn(String scanArn)
The scan ARN.
scanArn
- The scan ARN.public String getScanArn()
The scan ARN.
public GetCisScanReportRequest withScanArn(String scanArn)
The scan ARN.
scanArn
- The scan ARN.public List<String> getTargetAccounts()
The target accounts.
public void setTargetAccounts(Collection<String> targetAccounts)
The target accounts.
targetAccounts
- The target accounts.public GetCisScanReportRequest withTargetAccounts(String... targetAccounts)
The target accounts.
NOTE: This method appends the values to the existing list (if any). Use
setTargetAccounts(java.util.Collection)
or withTargetAccounts(java.util.Collection)
if you want
to override the existing values.
targetAccounts
- The target accounts.public GetCisScanReportRequest withTargetAccounts(Collection<String> targetAccounts)
The target accounts.
targetAccounts
- The target accounts.public String toString()
toString
in class Object
Object.toString()
public GetCisScanReportRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()