Class GetBulkPublishDetailsResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.cognitosync.model.CognitoSyncResponse
-
- software.amazon.awssdk.services.cognitosync.model.GetBulkPublishDetailsResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetBulkPublishDetailsResponse.Builder,GetBulkPublishDetailsResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetBulkPublishDetailsResponse extends CognitoSyncResponse implements ToCopyableBuilder<GetBulkPublishDetailsResponse.Builder,GetBulkPublishDetailsResponse>
The output for the GetBulkPublishDetails operation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetBulkPublishDetailsResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetBulkPublishDetailsResponse.Builderbuilder()InstantbulkPublishCompleteTime()If BulkPublishStatus is SUCCEEDED, the time the last bulk publish operation completed.InstantbulkPublishStartTime()The date/time at which the last bulk publish was initiated.BulkPublishStatusbulkPublishStatus()Status of the last bulk publish operation, valid values are:StringbulkPublishStatusAsString()Status of the last bulk publish operation, valid values are:booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfailureMessage()If BulkPublishStatus is FAILED this field will contain the error message that caused the bulk publish to fail.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringidentityPoolId()A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetBulkPublishDetailsResponse.Builder>serializableBuilderClass()GetBulkPublishDetailsResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.cognitosync.model.CognitoSyncResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
identityPoolId
public final String identityPoolId()
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.- Returns:
- A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.
-
bulkPublishStartTime
public final Instant bulkPublishStartTime()
The date/time at which the last bulk publish was initiated.- Returns:
- The date/time at which the last bulk publish was initiated.
-
bulkPublishCompleteTime
public final Instant bulkPublishCompleteTime()
If BulkPublishStatus is SUCCEEDED, the time the last bulk publish operation completed.- Returns:
- If BulkPublishStatus is SUCCEEDED, the time the last bulk publish operation completed.
-
bulkPublishStatus
public final BulkPublishStatus bulkPublishStatus()
Status of the last bulk publish operation, valid values are:NOT_STARTED - No bulk publish has been requested for this identity pool
IN_PROGRESS - Data is being published to the configured stream
SUCCEEDED - All data for the identity pool has been published to the configured stream
FAILED - Some portion of the data has failed to publish, check FailureMessage for the cause.
If the service returns an enum value that is not available in the current SDK version,
bulkPublishStatuswill returnBulkPublishStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombulkPublishStatusAsString().- Returns:
- Status of the last bulk publish operation, valid values are:
NOT_STARTED - No bulk publish has been requested for this identity pool
IN_PROGRESS - Data is being published to the configured stream
SUCCEEDED - All data for the identity pool has been published to the configured stream
FAILED - Some portion of the data has failed to publish, check FailureMessage for the cause.
- See Also:
BulkPublishStatus
-
bulkPublishStatusAsString
public final String bulkPublishStatusAsString()
Status of the last bulk publish operation, valid values are:NOT_STARTED - No bulk publish has been requested for this identity pool
IN_PROGRESS - Data is being published to the configured stream
SUCCEEDED - All data for the identity pool has been published to the configured stream
FAILED - Some portion of the data has failed to publish, check FailureMessage for the cause.
If the service returns an enum value that is not available in the current SDK version,
bulkPublishStatuswill returnBulkPublishStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombulkPublishStatusAsString().- Returns:
- Status of the last bulk publish operation, valid values are:
NOT_STARTED - No bulk publish has been requested for this identity pool
IN_PROGRESS - Data is being published to the configured stream
SUCCEEDED - All data for the identity pool has been published to the configured stream
FAILED - Some portion of the data has failed to publish, check FailureMessage for the cause.
- See Also:
BulkPublishStatus
-
failureMessage
public final String failureMessage()
If BulkPublishStatus is FAILED this field will contain the error message that caused the bulk publish to fail.- Returns:
- If BulkPublishStatus is FAILED this field will contain the error message that caused the bulk publish to fail.
-
toBuilder
public GetBulkPublishDetailsResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetBulkPublishDetailsResponse.Builder,GetBulkPublishDetailsResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetBulkPublishDetailsResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetBulkPublishDetailsResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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 classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-