Class ErrorInformation
- All Implemented Interfaces:
- Serializable,- SdkPojo,- ToCopyableBuilder<ErrorInformation.Builder,- ErrorInformation> 
Information about a deployment error.
- See Also:
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionstatic ErrorInformation.Builderbuilder()final ErrorCodecode()For more information, see Error Codes for CodeDeploy in the CodeDeploy User Guide.final StringFor more information, see Error Codes for CodeDeploy in the CodeDeploy User Guide.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringmessage()An accompanying error message.static Class<? extends ErrorInformation.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuildercopy
- 
Method Details- 
codeFor more information, see Error Codes for CodeDeploy in the CodeDeploy User Guide. The error code: - 
 APPLICATION_MISSING: The application was missing. This error code is most likely raised if the application is deleted after the deployment is created, but before it is started. 
- 
 DEPLOYMENT_GROUP_MISSING: The deployment group was missing. This error code is most likely raised if the deployment group is deleted after the deployment is created, but before it is started. 
- 
 HEALTH_CONSTRAINTS: The deployment failed on too many instances to be successfully deployed within the instance health constraints specified. 
- 
 HEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully deployed within the instance health constraints specified. 
- 
 IAM_ROLE_MISSING: The service role cannot be accessed. 
- 
 IAM_ROLE_PERMISSIONS: The service role does not have the correct permissions. 
- 
 INTERNAL_ERROR: There was an internal error. 
- 
 NO_EC2_SUBSCRIPTION: The calling account is not subscribed to Amazon EC2. 
- 
 NO_INSTANCES: No instances were specified, or no instances can be found. 
- 
 OVER_MAX_INSTANCES: The maximum number of instances was exceeded. 
- 
 THROTTLED: The operation was throttled because the calling account exceeded the throttling limits of one or more Amazon Web Services services. 
- 
 TIMEOUT: The deployment has timed out. 
- 
 REVISION_MISSING: The revision ID was missing. This error code is most likely raised if the revision is deleted after the deployment is created, but before it is started. 
 If the service returns an enum value that is not available in the current SDK version, codewill returnErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcodeAsString().- Returns:
- For more information, see Error Codes for
         CodeDeploy in the CodeDeploy User
         Guide.
         The error code: - 
         APPLICATION_MISSING: The application was missing. This error code is most likely raised if the application is deleted after the deployment is created, but before it is started. 
- 
         DEPLOYMENT_GROUP_MISSING: The deployment group was missing. This error code is most likely raised if the deployment group is deleted after the deployment is created, but before it is started. 
- 
         HEALTH_CONSTRAINTS: The deployment failed on too many instances to be successfully deployed within the instance health constraints specified. 
- 
         HEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully deployed within the instance health constraints specified. 
- 
         IAM_ROLE_MISSING: The service role cannot be accessed. 
- 
         IAM_ROLE_PERMISSIONS: The service role does not have the correct permissions. 
- 
         INTERNAL_ERROR: There was an internal error. 
- 
         NO_EC2_SUBSCRIPTION: The calling account is not subscribed to Amazon EC2. 
- 
         NO_INSTANCES: No instances were specified, or no instances can be found. 
- 
         OVER_MAX_INSTANCES: The maximum number of instances was exceeded. 
- 
         THROTTLED: The operation was throttled because the calling account exceeded the throttling limits of one or more Amazon Web Services services. 
- 
         TIMEOUT: The deployment has timed out. 
- 
         REVISION_MISSING: The revision ID was missing. This error code is most likely raised if the revision is deleted after the deployment is created, but before it is started. 
 
- 
         
- See Also:
 
- 
 
- 
codeAsStringFor more information, see Error Codes for CodeDeploy in the CodeDeploy User Guide. The error code: - 
 APPLICATION_MISSING: The application was missing. This error code is most likely raised if the application is deleted after the deployment is created, but before it is started. 
- 
 DEPLOYMENT_GROUP_MISSING: The deployment group was missing. This error code is most likely raised if the deployment group is deleted after the deployment is created, but before it is started. 
- 
 HEALTH_CONSTRAINTS: The deployment failed on too many instances to be successfully deployed within the instance health constraints specified. 
- 
 HEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully deployed within the instance health constraints specified. 
- 
 IAM_ROLE_MISSING: The service role cannot be accessed. 
- 
 IAM_ROLE_PERMISSIONS: The service role does not have the correct permissions. 
- 
 INTERNAL_ERROR: There was an internal error. 
- 
 NO_EC2_SUBSCRIPTION: The calling account is not subscribed to Amazon EC2. 
- 
 NO_INSTANCES: No instances were specified, or no instances can be found. 
- 
 OVER_MAX_INSTANCES: The maximum number of instances was exceeded. 
- 
 THROTTLED: The operation was throttled because the calling account exceeded the throttling limits of one or more Amazon Web Services services. 
- 
 TIMEOUT: The deployment has timed out. 
- 
 REVISION_MISSING: The revision ID was missing. This error code is most likely raised if the revision is deleted after the deployment is created, but before it is started. 
 If the service returns an enum value that is not available in the current SDK version, codewill returnErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcodeAsString().- Returns:
- For more information, see Error Codes for
         CodeDeploy in the CodeDeploy User
         Guide.
         The error code: - 
         APPLICATION_MISSING: The application was missing. This error code is most likely raised if the application is deleted after the deployment is created, but before it is started. 
- 
         DEPLOYMENT_GROUP_MISSING: The deployment group was missing. This error code is most likely raised if the deployment group is deleted after the deployment is created, but before it is started. 
- 
         HEALTH_CONSTRAINTS: The deployment failed on too many instances to be successfully deployed within the instance health constraints specified. 
- 
         HEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully deployed within the instance health constraints specified. 
- 
         IAM_ROLE_MISSING: The service role cannot be accessed. 
- 
         IAM_ROLE_PERMISSIONS: The service role does not have the correct permissions. 
- 
         INTERNAL_ERROR: There was an internal error. 
- 
         NO_EC2_SUBSCRIPTION: The calling account is not subscribed to Amazon EC2. 
- 
         NO_INSTANCES: No instances were specified, or no instances can be found. 
- 
         OVER_MAX_INSTANCES: The maximum number of instances was exceeded. 
- 
         THROTTLED: The operation was throttled because the calling account exceeded the throttling limits of one or more Amazon Web Services services. 
- 
         TIMEOUT: The deployment has timed out. 
- 
         REVISION_MISSING: The revision ID was missing. This error code is most likely raised if the revision is deleted after the deployment is created, but before it is started. 
 
- 
         
- See Also:
 
- 
 
- 
messageAn accompanying error message. - Returns:
- An accompanying error message.
 
- 
toBuilderDescription copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToCopyableBuilder<ErrorInformation.Builder,- ErrorInformation> 
- Returns:
- a builder for type T
 
- 
builder
- 
serializableBuilderClass
- 
hashCode
- 
equals
- 
equalsBySdkFieldsDescription copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
- equalsBySdkFieldsin interface- SdkPojo
- Parameters:
- obj- the object to be compared with
- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
 
- 
toString
- 
getValueForField
- 
sdkFields
- 
sdkFieldNameToField- Specified by:
- sdkFieldNameToFieldin interface- SdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
 
 
-