Class UpdateFrameworkRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.backup.model.BackupRequest
-
- software.amazon.awssdk.services.backup.model.UpdateFrameworkRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateFrameworkRequest.Builder,UpdateFrameworkRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateFrameworkRequest extends BackupRequest implements ToCopyableBuilder<UpdateFrameworkRequest.Builder,UpdateFrameworkRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateFrameworkRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateFrameworkRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)List<FrameworkControl>frameworkControls()A list of the controls that make up the framework.StringframeworkDescription()An optional description of the framework with a maximum 1,024 characters.StringframeworkName()The unique name of a framework.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasFrameworkControls()For responses, this returns true if the service returned a value for the FrameworkControls property.inthashCode()StringidempotencyToken()A customer-chosen string that you can use to distinguish between otherwise identical calls toUpdateFrameworkInput.List<SdkField<?>>sdkFields()static Class<? extends UpdateFrameworkRequest.Builder>serializableBuilderClass()UpdateFrameworkRequest.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
-
frameworkName
public final String frameworkName()
The unique name of a framework. This name is between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
- Returns:
- The unique name of a framework. This name is between 1 and 256 characters, starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and underscores (_).
-
frameworkDescription
public final String frameworkDescription()
An optional description of the framework with a maximum 1,024 characters.
- Returns:
- An optional description of the framework with a maximum 1,024 characters.
-
hasFrameworkControls
public final boolean hasFrameworkControls()
For responses, this returns true if the service returned a value for the FrameworkControls property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
frameworkControls
public final List<FrameworkControl> frameworkControls()
A list of the controls that make up the framework. Each control in the list has a name, input parameters, and scope.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasFrameworkControls()method.- Returns:
- A list of the controls that make up the framework. Each control in the list has a name, input parameters, and scope.
-
idempotencyToken
public final String idempotencyToken()
A customer-chosen string that you can use to distinguish between otherwise identical calls to
UpdateFrameworkInput. Retrying a successful request with the same idempotency token results in a success message with no action taken.- Returns:
- A customer-chosen string that you can use to distinguish between otherwise identical calls to
UpdateFrameworkInput. Retrying a successful request with the same idempotency token results in a success message with no action taken.
-
toBuilder
public UpdateFrameworkRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateFrameworkRequest.Builder,UpdateFrameworkRequest>- Specified by:
toBuilderin classBackupRequest
-
builder
public static UpdateFrameworkRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateFrameworkRequest.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
-
-