public class DeleteSecurityProfileRequest extends AmazonWebServiceRequest implements Serializable
Deletes a Device Defender security profile.
| Constructor and Description |
|---|
DeleteSecurityProfileRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Long |
getExpectedVersion()
The expected version of the security profile.
|
String |
getSecurityProfileName()
The name of the security profile to be deleted.
|
int |
hashCode() |
void |
setExpectedVersion(Long expectedVersion)
The expected version of the security profile.
|
void |
setSecurityProfileName(String securityProfileName)
The name of the security profile to be deleted.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteSecurityProfileRequest |
withExpectedVersion(Long expectedVersion)
The expected version of the security profile.
|
DeleteSecurityProfileRequest |
withSecurityProfileName(String securityProfileName)
The name of the security profile to be deleted.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getSecurityProfileName()
The name of the security profile to be deleted.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The name of the security profile to be deleted.
public void setSecurityProfileName(String securityProfileName)
The name of the security profile to be deleted.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
securityProfileName - The name of the security profile to be deleted.
public DeleteSecurityProfileRequest withSecurityProfileName(String securityProfileName)
The name of the security profile to be deleted.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
securityProfileName - The name of the security profile to be deleted.
public Long getExpectedVersion()
The expected version of the security profile. A new version is generated
whenever the security profile is updated. If you specify a value that is
different than the actual version, a
VersionConflictException is thrown.
The expected version of the security profile. A new version is
generated whenever the security profile is updated. If you
specify a value that is different than the actual version, a
VersionConflictException is thrown.
public void setExpectedVersion(Long expectedVersion)
The expected version of the security profile. A new version is generated
whenever the security profile is updated. If you specify a value that is
different than the actual version, a
VersionConflictException is thrown.
expectedVersion -
The expected version of the security profile. A new version is
generated whenever the security profile is updated. If you
specify a value that is different than the actual version, a
VersionConflictException is thrown.
public DeleteSecurityProfileRequest withExpectedVersion(Long expectedVersion)
The expected version of the security profile. A new version is generated
whenever the security profile is updated. If you specify a value that is
different than the actual version, a
VersionConflictException is thrown.
Returns a reference to this object so that method calls can be chained together.
expectedVersion -
The expected version of the security profile. A new version is
generated whenever the security profile is updated. If you
specify a value that is different than the actual version, a
VersionConflictException is thrown.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.