@Generated(value="software.amazon.awssdk:codegen") public final class AutoBranchCreationConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AutoBranchCreationConfig.Builder,AutoBranchCreationConfig>
Describes the automated branch creation configuration.
Modifier and Type | Class and Description |
---|---|
static interface |
AutoBranchCreationConfig.Builder |
Modifier and Type | Method and Description |
---|---|
String |
basicAuthCredentials()
The basic authorization credentials for the autocreated branch.
|
static AutoBranchCreationConfig.Builder |
builder() |
String |
buildSpec()
The build specification (build spec) for the autocreated branch.
|
Boolean |
enableAutoBuild()
Enables auto building for the autocreated branch.
|
Boolean |
enableBasicAuth()
Enables basic authorization for the autocreated branch.
|
Boolean |
enablePerformanceMode()
Enables performance mode for the branch.
|
Boolean |
enablePullRequestPreview()
Enables pull request previews for the autocreated branch.
|
Map<String,String> |
environmentVariables()
The environment variables for the autocreated branch.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
String |
framework()
The framework for the autocreated branch.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasEnvironmentVariables()
Returns true if the EnvironmentVariables property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
String |
pullRequestEnvironmentName()
The Amplify environment name for the pull request.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AutoBranchCreationConfig.Builder> |
serializableBuilderClass() |
Stage |
stage()
Describes the current stage for the autocreated branch.
|
String |
stageAsString()
Describes the current stage for the autocreated branch.
|
AutoBranchCreationConfig.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public final Stage stage()
Describes the current stage for the autocreated branch.
If the service returns an enum value that is not available in the current SDK version, stage
will return
Stage.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stageAsString()
.
Stage
public final String stageAsString()
Describes the current stage for the autocreated branch.
If the service returns an enum value that is not available in the current SDK version, stage
will return
Stage.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stageAsString()
.
Stage
public final String framework()
The framework for the autocreated branch.
public final Boolean enableAutoBuild()
Enables auto building for the autocreated branch.
public final boolean hasEnvironmentVariables()
public final Map<String,String> environmentVariables()
The environment variables for the autocreated branch.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasEnvironmentVariables()
to see if a value was sent in this field.
public final String basicAuthCredentials()
The basic authorization credentials for the autocreated branch.
public final Boolean enableBasicAuth()
Enables basic authorization for the autocreated branch.
public final Boolean enablePerformanceMode()
Enables performance mode for the branch.
Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.
Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.
public final String buildSpec()
The build specification (build spec) for the autocreated branch.
public final Boolean enablePullRequestPreview()
Enables pull request previews for the autocreated branch.
public final String pullRequestEnvironmentName()
The Amplify environment name for the pull request.
public AutoBranchCreationConfig.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AutoBranchCreationConfig.Builder,AutoBranchCreationConfig>
public static AutoBranchCreationConfig.Builder builder()
public static Class<? extends AutoBranchCreationConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()