Class UpdateMalwareProtectionPlanRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.guardduty.model.GuardDutyRequest
-
- software.amazon.awssdk.services.guardduty.model.UpdateMalwareProtectionPlanRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateMalwareProtectionPlanRequest.Builder,UpdateMalwareProtectionPlanRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateMalwareProtectionPlanRequest extends GuardDutyRequest implements ToCopyableBuilder<UpdateMalwareProtectionPlanRequest.Builder,UpdateMalwareProtectionPlanRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateMalwareProtectionPlanRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MalwareProtectionPlanActionsactions()Information about whether the tags will be added to the S3 object after scanning.static UpdateMalwareProtectionPlanRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmalwareProtectionPlanId()A unique identifier associated with the Malware Protection plan.UpdateProtectedResourceprotectedResource()Information about the protected resource that is associated with the created Malware Protection plan.Stringrole()Amazon Resource Name (ARN) of the IAM role with permissions to scan and add tags to the associated protected resource.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateMalwareProtectionPlanRequest.Builder>serializableBuilderClass()UpdateMalwareProtectionPlanRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
malwareProtectionPlanId
public final String malwareProtectionPlanId()
A unique identifier associated with the Malware Protection plan.
- Returns:
- A unique identifier associated with the Malware Protection plan.
-
role
public final String role()
Amazon Resource Name (ARN) of the IAM role with permissions to scan and add tags to the associated protected resource.
- Returns:
- Amazon Resource Name (ARN) of the IAM role with permissions to scan and add tags to the associated protected resource.
-
actions
public final MalwareProtectionPlanActions actions()
Information about whether the tags will be added to the S3 object after scanning.
- Returns:
- Information about whether the tags will be added to the S3 object after scanning.
-
protectedResource
public final UpdateProtectedResource protectedResource()
Information about the protected resource that is associated with the created Malware Protection plan. Presently,
S3Bucketis the only supported protected resource.- Returns:
- Information about the protected resource that is associated with the created Malware Protection plan.
Presently,
S3Bucketis the only supported protected resource.
-
toBuilder
public UpdateMalwareProtectionPlanRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateMalwareProtectionPlanRequest.Builder,UpdateMalwareProtectionPlanRequest>- Specified by:
toBuilderin classGuardDutyRequest
-
builder
public static UpdateMalwareProtectionPlanRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateMalwareProtectionPlanRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-