@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.
|
Map<String,String> |
getTags()
The tags 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 |
setTags(Map<String,String> tags)
The tags 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 |
withTags(Map<String,String> tags)
The tags 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 and ORGANIZATION 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 and ORGANIZATION 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 and ORGANIZATION 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 and ORGANIZATION 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 and ORGANIZATION 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 and ORGANIZATION 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 and ORGANIZATION 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()
The tags to apply to the analyzer.
public void setTags(Map<String,String> tags)
The tags to apply to the analyzer.
tags
- The tags to apply to the analyzer.public CreateAnalyzerRequest withTags(Map<String,String> tags)
The tags to apply to the analyzer.
tags
- The tags 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 String toString()
toString
in class Object
Object.toString()
public CreateAnalyzerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()