Class UpdateResourceCollectionRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.devopsguru.model.DevOpsGuruRequest
-
- software.amazon.awssdk.services.devopsguru.model.UpdateResourceCollectionRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateResourceCollectionRequest.Builder,UpdateResourceCollectionRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateResourceCollectionRequest extends DevOpsGuruRequest implements ToCopyableBuilder<UpdateResourceCollectionRequest.Builder,UpdateResourceCollectionRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateResourceCollectionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateResourceCollectionActionaction()Specifies if the resource collection in the request is added or deleted to the resource collection.StringactionAsString()Specifies if the resource collection in the request is added or deleted to the resource collection.static UpdateResourceCollectionRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()UpdateResourceCollectionFilterresourceCollection()Returns the value of the ResourceCollection property for this object.List<SdkField<?>>sdkFields()static Class<? extends UpdateResourceCollectionRequest.Builder>serializableBuilderClass()UpdateResourceCollectionRequest.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
-
action
public final UpdateResourceCollectionAction action()
Specifies if the resource collection in the request is added or deleted to the resource collection.
If the service returns an enum value that is not available in the current SDK version,
actionwill returnUpdateResourceCollectionAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- Specifies if the resource collection in the request is added or deleted to the resource collection.
- See Also:
UpdateResourceCollectionAction
-
actionAsString
public final String actionAsString()
Specifies if the resource collection in the request is added or deleted to the resource collection.
If the service returns an enum value that is not available in the current SDK version,
actionwill returnUpdateResourceCollectionAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- Specifies if the resource collection in the request is added or deleted to the resource collection.
- See Also:
UpdateResourceCollectionAction
-
resourceCollection
public final UpdateResourceCollectionFilter resourceCollection()
Returns the value of the ResourceCollection property for this object.- Returns:
- The value of the ResourceCollection property for this object.
-
toBuilder
public UpdateResourceCollectionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateResourceCollectionRequest.Builder,UpdateResourceCollectionRequest>- Specified by:
toBuilderin classDevOpsGuruRequest
-
builder
public static UpdateResourceCollectionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateResourceCollectionRequest.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
-
-