@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAnalyzerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Creates an analyzer.
NOOP
Constructor and Description |
---|
CreateAnalyzerRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAnalyzerRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateAnalyzerRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateAnalyzerRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAnalyzerName()
The name of the analyzer to create.
|
List<InlineArchiveRule> |
getArchiveRules()
Specifies the archive rules to add for the analyzer.
|
String |
getClientToken()
A client token.
|
AnalyzerConfiguration |
getConfiguration()
Specifies the configuration of the analyzer.
|
Map<String,String> |
getTags()
An array of key-value pairs to apply to the analyzer.
|
String |
getType()
The type of analyzer to create.
|
int |
hashCode() |
void |
setAnalyzerName(String analyzerName)
The name of the analyzer to create.
|
void |
setArchiveRules(Collection<InlineArchiveRule> archiveRules)
Specifies the archive rules to add for the analyzer.
|
void |
setClientToken(String clientToken)
A client token.
|
void |
setConfiguration(AnalyzerConfiguration configuration)
Specifies the configuration of the analyzer.
|
void |
setTags(Map<String,String> tags)
An array of key-value pairs to apply to the analyzer.
|
void |
setType(String type)
The type of analyzer to create.
|
String |
toString()
Returns a string representation of this object.
|
CreateAnalyzerRequest |
withAnalyzerName(String analyzerName)
The name of the analyzer to create.
|
CreateAnalyzerRequest |
withArchiveRules(Collection<InlineArchiveRule> archiveRules)
Specifies the archive rules to add for the analyzer.
|
CreateAnalyzerRequest |
withArchiveRules(InlineArchiveRule... archiveRules)
Specifies the archive rules to add for the analyzer.
|
CreateAnalyzerRequest |
withClientToken(String clientToken)
A client token.
|
CreateAnalyzerRequest |
withConfiguration(AnalyzerConfiguration configuration)
Specifies the configuration of the analyzer.
|
CreateAnalyzerRequest |
withTags(Map<String,String> tags)
An array of key-value pairs to apply to the analyzer.
|
CreateAnalyzerRequest |
withType(String type)
The type of analyzer to create.
|
CreateAnalyzerRequest |
withType(Type type)
The type of analyzer to create.
|
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 setAnalyzerName(String analyzerName)
The name of the analyzer to create.
analyzerName
- The name of the analyzer to create.public String getAnalyzerName()
The name of the analyzer to create.
public CreateAnalyzerRequest withAnalyzerName(String analyzerName)
The name of the analyzer to create.
analyzerName
- The name of the analyzer to create.public void setType(String type)
The type of analyzer to create. Only ACCOUNT
, ORGANIZATION
,
ACCOUNT_UNUSED_ACCESS
, and ORGANIZATION_UNUSED_ACCESS
analyzers are supported. You can
create only one analyzer per account per Region. You can create up to 5 analyzers per organization per Region.
type
- The type of analyzer to create. Only ACCOUNT
, ORGANIZATION
,
ACCOUNT_UNUSED_ACCESS
, and ORGANIZATION_UNUSED_ACCESS
analyzers are supported.
You can create only one analyzer per account per Region. You can create up to 5 analyzers per organization
per Region.Type
public String getType()
The type of analyzer to create. Only ACCOUNT
, ORGANIZATION
,
ACCOUNT_UNUSED_ACCESS
, and ORGANIZATION_UNUSED_ACCESS
analyzers are supported. You can
create only one analyzer per account per Region. You can create up to 5 analyzers per organization per Region.
ACCOUNT
, ORGANIZATION
,
ACCOUNT_UNUSED_ACCESS
, and ORGANIZATION_UNUSED_ACCESS
analyzers are supported.
You can create only one analyzer per account per Region. You can create up to 5 analyzers per
organization per Region.Type
public CreateAnalyzerRequest withType(String type)
The type of analyzer to create. Only ACCOUNT
, ORGANIZATION
,
ACCOUNT_UNUSED_ACCESS
, and ORGANIZATION_UNUSED_ACCESS
analyzers are supported. You can
create only one analyzer per account per Region. You can create up to 5 analyzers per organization per Region.
type
- The type of analyzer to create. Only ACCOUNT
, ORGANIZATION
,
ACCOUNT_UNUSED_ACCESS
, and ORGANIZATION_UNUSED_ACCESS
analyzers are supported.
You can create only one analyzer per account per Region. You can create up to 5 analyzers per organization
per Region.Type
public CreateAnalyzerRequest withType(Type type)
The type of analyzer to create. Only ACCOUNT
, ORGANIZATION
,
ACCOUNT_UNUSED_ACCESS
, and ORGANIZATION_UNUSED_ACCESS
analyzers are supported. You can
create only one analyzer per account per Region. You can create up to 5 analyzers per organization per Region.
type
- The type of analyzer to create. Only ACCOUNT
, ORGANIZATION
,
ACCOUNT_UNUSED_ACCESS
, and ORGANIZATION_UNUSED_ACCESS
analyzers are supported.
You can create only one analyzer per account per Region. You can create up to 5 analyzers per organization
per Region.Type
public List<InlineArchiveRule> getArchiveRules()
Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that meet the criteria you define for the rule.
public void setArchiveRules(Collection<InlineArchiveRule> archiveRules)
Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that meet the criteria you define for the rule.
archiveRules
- Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that
meet the criteria you define for the rule.public CreateAnalyzerRequest withArchiveRules(InlineArchiveRule... archiveRules)
Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that meet the criteria you define for the rule.
NOTE: This method appends the values to the existing list (if any). Use
setArchiveRules(java.util.Collection)
or withArchiveRules(java.util.Collection)
if you want to
override the existing values.
archiveRules
- Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that
meet the criteria you define for the rule.public CreateAnalyzerRequest withArchiveRules(Collection<InlineArchiveRule> archiveRules)
Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that meet the criteria you define for the rule.
archiveRules
- Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that
meet the criteria you define for the rule.public Map<String,String> getTags()
An array of key-value pairs to apply to the analyzer.
public void setTags(Map<String,String> tags)
An array of key-value pairs to apply to the analyzer.
tags
- An array of key-value pairs to apply to the analyzer.public CreateAnalyzerRequest withTags(Map<String,String> tags)
An array of key-value pairs to apply to the analyzer.
tags
- An array of key-value pairs to apply to the analyzer.public CreateAnalyzerRequest addTagsEntry(String key, String value)
public CreateAnalyzerRequest clearTagsEntries()
public void setClientToken(String clientToken)
A client token.
clientToken
- A client token.public String getClientToken()
A client token.
public CreateAnalyzerRequest withClientToken(String clientToken)
A client token.
clientToken
- A client token.public void setConfiguration(AnalyzerConfiguration configuration)
Specifies the configuration of the analyzer. If the analyzer is an unused access analyzer, the specified scope of unused access is used for the configuration. If the analyzer is an external access analyzer, this field is not used.
configuration
- Specifies the configuration of the analyzer. If the analyzer is an unused access analyzer, the specified
scope of unused access is used for the configuration. If the analyzer is an external access analyzer, this
field is not used.public AnalyzerConfiguration getConfiguration()
Specifies the configuration of the analyzer. If the analyzer is an unused access analyzer, the specified scope of unused access is used for the configuration. If the analyzer is an external access analyzer, this field is not used.
public CreateAnalyzerRequest withConfiguration(AnalyzerConfiguration configuration)
Specifies the configuration of the analyzer. If the analyzer is an unused access analyzer, the specified scope of unused access is used for the configuration. If the analyzer is an external access analyzer, this field is not used.
configuration
- Specifies the configuration of the analyzer. If the analyzer is an unused access analyzer, the specified
scope of unused access is used for the configuration. If the analyzer is an external access analyzer, this
field is not used.public String toString()
toString
in class Object
Object.toString()
public CreateAnalyzerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Privacy | Site terms | Cookie preferences | © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.