public class GetComplianceSummaryByResourceTypeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetComplianceSummaryByResourceTypeRequest() |
Modifier and Type | Method and Description |
---|---|
GetComplianceSummaryByResourceTypeRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
List<String> |
getResourceTypes()
Specify one or more resource types to get the number of resources that
are compliant and the number that are noncompliant for each resource
type.
|
int |
hashCode() |
void |
setResourceTypes(Collection<String> resourceTypes)
Specify one or more resource types to get the number of resources that
are compliant and the number that are noncompliant for each resource
type.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetComplianceSummaryByResourceTypeRequest |
withResourceTypes(Collection<String> resourceTypes)
Specify one or more resource types to get the number of resources that
are compliant and the number that are noncompliant for each resource
type.
|
GetComplianceSummaryByResourceTypeRequest |
withResourceTypes(String... resourceTypes)
Specify one or more resource types to get the number of resources that
are compliant and the number that are noncompliant for each resource
type.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public GetComplianceSummaryByResourceTypeRequest()
public List<String> getResourceTypes()
Specify one or more resource types to get the number of resources that are compliant and the number that are noncompliant for each resource type.
For this request, you can specify an AWS resource type such as
AWS::EC2::Instance
, and you can specify that the resource
type is an AWS account by specifying AWS::::Account
.
For this request, you can specify an AWS resource type such as
AWS::EC2::Instance
, and you can specify that the
resource type is an AWS account by specifying
AWS::::Account
.
public void setResourceTypes(Collection<String> resourceTypes)
Specify one or more resource types to get the number of resources that are compliant and the number that are noncompliant for each resource type.
For this request, you can specify an AWS resource type such as
AWS::EC2::Instance
, and you can specify that the resource
type is an AWS account by specifying AWS::::Account
.
resourceTypes
- Specify one or more resource types to get the number of resources
that are compliant and the number that are noncompliant for each
resource type.
For this request, you can specify an AWS resource type such as
AWS::EC2::Instance
, and you can specify that the
resource type is an AWS account by specifying
AWS::::Account
.
public GetComplianceSummaryByResourceTypeRequest withResourceTypes(String... resourceTypes)
Specify one or more resource types to get the number of resources that are compliant and the number that are noncompliant for each resource type.
For this request, you can specify an AWS resource type such as
AWS::EC2::Instance
, and you can specify that the resource
type is an AWS account by specifying AWS::::Account
.
NOTE: This method appends the values to the existing list (if
any). Use setResourceTypes(java.util.Collection)
or
withResourceTypes(java.util.Collection)
if you want to override
the existing values.
resourceTypes
- Specify one or more resource types to get the number of resources
that are compliant and the number that are noncompliant for each
resource type.
For this request, you can specify an AWS resource type such as
AWS::EC2::Instance
, and you can specify that the
resource type is an AWS account by specifying
AWS::::Account
.
public GetComplianceSummaryByResourceTypeRequest withResourceTypes(Collection<String> resourceTypes)
Specify one or more resource types to get the number of resources that are compliant and the number that are noncompliant for each resource type.
For this request, you can specify an AWS resource type such as
AWS::EC2::Instance
, and you can specify that the resource
type is an AWS account by specifying AWS::::Account
.
resourceTypes
- Specify one or more resource types to get the number of resources
that are compliant and the number that are noncompliant for each
resource type.
For this request, you can specify an AWS resource type such as
AWS::EC2::Instance
, and you can specify that the
resource type is an AWS account by specifying
AWS::::Account
.
public String toString()
toString
in class Object
Object.toString()
public GetComplianceSummaryByResourceTypeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2018. All rights reserved.