@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
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.
|
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.
|
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 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 Amazon Web Services resource type such as AWS::EC2::Instance
.
You can specify that the resource type is an Amazon Web Services account by specifying
AWS::::Account
.
For this request, you can specify an Amazon Web Services resource type such as
AWS::EC2::Instance
. You can specify that the resource type is an Amazon Web Services 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 Amazon Web Services resource type such as AWS::EC2::Instance
.
You can specify that the resource type is an Amazon Web Services 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 Amazon Web Services resource type such as
AWS::EC2::Instance
. You can specify that the resource type is an Amazon Web Services 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 Amazon Web Services resource type such as AWS::EC2::Instance
.
You can specify that the resource type is an Amazon Web Services 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 Amazon Web Services resource type such as
AWS::EC2::Instance
. You can specify that the resource type is an Amazon Web Services 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 Amazon Web Services resource type such as AWS::EC2::Instance
.
You can specify that the resource type is an Amazon Web Services 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 Amazon Web Services resource type such as
AWS::EC2::Instance
. You can specify that the resource type is an Amazon Web Services account
by specifying AWS::::Account
.
public String toString()
toString
in class Object
Object.toString()
public GetComplianceSummaryByResourceTypeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()