@Generated(value="software.amazon.awssdk:codegen") public final class CreateBackupRequest extends OpsWorksCmRequest implements ToCopyableBuilder<CreateBackupRequest.Builder,CreateBackupRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateBackupRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateBackupRequest.Builder |
builder() |
String |
description()
A user-defined description of the backup.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateBackupRequest.Builder> |
serializableBuilderClass() |
String |
serverName()
The name of the server that you want to back up.
|
List<Tag> |
tags()
A map that contains tag keys and tag values to attach to an AWS OpsWorks-CM server backup.
|
CreateBackupRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String serverName()
The name of the server that you want to back up.
public final String description()
A user-defined description of the backup.
public final boolean hasTags()
public final List<Tag> tags()
A map that contains tag keys and tag values to attach to an AWS OpsWorks-CM server backup.
The key cannot be empty.
The key can be a maximum of 127 characters, and can contain only Unicode letters, numbers, or separators, or the
following special characters: + - = . _ : /
The value can be a maximum 255 characters, and contain only Unicode letters, numbers, or separators, or the
following special characters: + - = . _ : /
Leading and trailing white spaces are trimmed from both the key and value.
A maximum of 50 user-applied tags is allowed for tag-supported AWS OpsWorks-CM resources.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
The key cannot be empty.
The key can be a maximum of 127 characters, and can contain only Unicode letters, numbers, or separators,
or the following special characters: + - = . _ : /
The value can be a maximum 255 characters, and contain only Unicode letters, numbers, or separators, or
the following special characters: + - = . _ : /
Leading and trailing white spaces are trimmed from both the key and value.
A maximum of 50 user-applied tags is allowed for tag-supported AWS OpsWorks-CM resources.
public CreateBackupRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateBackupRequest.Builder,CreateBackupRequest>toBuilder in class OpsWorksCmRequestpublic static CreateBackupRequest.Builder builder()
public static Class<? extends CreateBackupRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.