Class ImmutableAwsEventResponse
- All Implemented Interfaces:
AwsEventResponse
AwsEventResponse.
Use the builder to create immutable instances:
ImmutableAwsEventResponse.builder().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableAwsEventResponse. -
Method Summary
Modifier and TypeMethodDescriptionAWS EVENT OPTIONAL FIELD.AWS EVENT OPTIONAL FIELD.AWS EVENT OPTIONAL FIELD.AWS EVENT OPTIONAL FIELD.AWS EVENT OPTIONAL FIELD.AWS EVENT REQUIRED FIELD.builder()Creates a builder forImmutableAwsEventResponse.AWS EVENT REQUIRED FIELD.AWS EVENT REQUIRED FIELD.static ImmutableAwsEventResponsecopyOf(AwsEventResponse instance) Creates an immutable copy of aAwsEventResponsevalue.currency()AWS EVENT OPTIONAL FIELD.AWS EVENT OPTIONAL FIELD.details()The event details messageThe event entity nameThe event entity typeThe event entity uuidbooleanThis instance is equal to all instances ofImmutableAwsEventResponsethat have equal attribute values.AWS EVENT OPTIONAL FIELD.inthashCode()Computes a hash code from attributes:uuid,ownerType,ownerId,entityUuid,entityName,entityType,type,timestamp,taskUuid,initiatedByUsername,initiatedByFullName,details,contractUuid,contractNumber,ipAddress,awsEventType,accountId,accessKey,newAccessKey,newKeyDescription,newBucketName,newBucketObjectLockEnabled,existingStorageReservation,additionalStorage,newStorageReservation,currentMonthlyStorageCost,currency,additionalMonthlyStorageCost,newMonthlyStorageCost,accountName,originalAccountName,newAccountName.The fullname of who triggered the eventThe username of who triggered the eventAWS EVENT REQUIRED FIELD.AWS EVENT OPTIONAL FIELD See awsEventType field description for more info.AWS EVENT OPTIONAL FIELD.AWS EVENT OPTIONAL FIELD.AWS EVENT OPTIONAL FIELD.AWS EVENT OPTIONAL FIELD.AWS EVENT OPTIONAL FIELD.AWS EVENT OPTIONAL FIELD.AWS EVENT OPTIONAL FIELD.ownerId()The owner idThe owner typetaskUuid()The core task uuidThe creation typetoString()Prints the immutable valueAwsEventResponsewith attribute values.type()The event typeuuid()The event uuidwithAccessKey(String value) Copy the current immutable object by setting a present value for the optionalaccessKeyattribute.withAccessKey(Optional<String> optional) Copy the current immutable object by setting an optional value for theaccessKeyattribute.withAccountId(String value) Copy the current immutable object by setting a present value for the optionalaccountIdattribute.withAccountId(Optional<String> optional) Copy the current immutable object by setting an optional value for theaccountIdattribute.withAccountName(String value) Copy the current immutable object by setting a present value for the optionalaccountNameattribute.withAccountName(Optional<String> optional) Copy the current immutable object by setting an optional value for theaccountNameattribute.withAdditionalMonthlyStorageCost(double value) Copy the current immutable object by setting a present value for the optionaladditionalMonthlyStorageCostattribute.withAdditionalMonthlyStorageCost(Optional<Double> optional) Copy the current immutable object by setting an optional value for theadditionalMonthlyStorageCostattribute.withAdditionalStorage(int value) Copy the current immutable object by setting a present value for the optionaladditionalStorageattribute.withAdditionalStorage(Optional<Integer> optional) Copy the current immutable object by setting an optional value for theadditionalStorageattribute.Copy the current immutable object by setting a value for theawsEventTypeattribute.withContractNumber(String value) Copy the current immutable object by setting a value for thecontractNumberattribute.withContractUuid(String value) Copy the current immutable object by setting a value for thecontractUuidattribute.withCurrency(String value) Copy the current immutable object by setting a present value for the optionalcurrencyattribute.withCurrency(Optional<String> optional) Copy the current immutable object by setting an optional value for thecurrencyattribute.withCurrentMonthlyStorageCost(double value) Copy the current immutable object by setting a present value for the optionalcurrentMonthlyStorageCostattribute.withCurrentMonthlyStorageCost(Optional<Double> optional) Copy the current immutable object by setting an optional value for thecurrentMonthlyStorageCostattribute.withDetails(String value) Copy the current immutable object by setting a value for thedetailsattribute.withEntityName(String value) Copy the current immutable object by setting a value for theentityNameattribute.withEntityType(EntityTypeResponse value) Copy the current immutable object by setting a value for theentityTypeattribute.withEntityUuid(String value) Copy the current immutable object by setting a value for theentityUuidattribute.withExistingStorageReservation(int value) Copy the current immutable object by setting a present value for the optionalexistingStorageReservationattribute.withExistingStorageReservation(Optional<Integer> optional) Copy the current immutable object by setting an optional value for theexistingStorageReservationattribute.withInitiatedByFullName(String value) Copy the current immutable object by setting a value for theinitiatedByFullNameattribute.withInitiatedByUsername(String value) Copy the current immutable object by setting a value for theinitiatedByUsernameattribute.withIpAddress(String value) Copy the current immutable object by setting a value for theipAddressattribute.withNewAccessKey(String value) Copy the current immutable object by setting a present value for the optionalnewAccessKeyattribute.withNewAccessKey(Optional<String> optional) Copy the current immutable object by setting an optional value for thenewAccessKeyattribute.withNewAccountName(String value) Copy the current immutable object by setting a present value for the optionalnewAccountNameattribute.withNewAccountName(Optional<String> optional) Copy the current immutable object by setting an optional value for thenewAccountNameattribute.withNewBucketName(String value) Copy the current immutable object by setting a present value for the optionalnewBucketNameattribute.withNewBucketName(Optional<String> optional) Copy the current immutable object by setting an optional value for thenewBucketNameattribute.withNewBucketObjectLockEnabled(boolean value) Copy the current immutable object by setting a present value for the optionalnewBucketObjectLockEnabledattribute.withNewBucketObjectLockEnabled(Optional<Boolean> optional) Copy the current immutable object by setting an optional value for thenewBucketObjectLockEnabledattribute.withNewKeyDescription(String value) Copy the current immutable object by setting a present value for the optionalnewKeyDescriptionattribute.withNewKeyDescription(Optional<String> optional) Copy the current immutable object by setting an optional value for thenewKeyDescriptionattribute.withNewMonthlyStorageCost(double value) Copy the current immutable object by setting a present value for the optionalnewMonthlyStorageCostattribute.withNewMonthlyStorageCost(Optional<Double> optional) Copy the current immutable object by setting an optional value for thenewMonthlyStorageCostattribute.withNewStorageReservation(int value) Copy the current immutable object by setting a present value for the optionalnewStorageReservationattribute.withNewStorageReservation(Optional<Integer> optional) Copy the current immutable object by setting an optional value for thenewStorageReservationattribute.withOriginalAccountName(String value) Copy the current immutable object by setting a present value for the optionaloriginalAccountNameattribute.withOriginalAccountName(Optional<String> optional) Copy the current immutable object by setting an optional value for theoriginalAccountNameattribute.withOwnerId(String value) Copy the current immutable object by setting a value for theownerIdattribute.withOwnerType(EventOwnerType value) Copy the current immutable object by setting a value for theownerTypeattribute.withTaskUuid(String value) Copy the current immutable object by setting a present value for the optionaltaskUuidattribute.withTaskUuid(Optional<String> optional) Copy the current immutable object by setting an optional value for thetaskUuidattribute.withTimestamp(Instant value) Copy the current immutable object by setting a value for thetimestampattribute.withType(EventTypeResponse value) Copy the current immutable object by setting a value for thetypeattribute.Copy the current immutable object by setting a value for theuuidattribute.
-
Method Details
-
uuid
The event uuid- Specified by:
uuidin interfaceAwsEventResponse
-
ownerType
The owner type- Specified by:
ownerTypein interfaceAwsEventResponse
-
ownerId
The owner id- Specified by:
ownerIdin interfaceAwsEventResponse
-
entityUuid
The event entity uuid- Specified by:
entityUuidin interfaceAwsEventResponse
-
entityName
The event entity name- Specified by:
entityNamein interfaceAwsEventResponse
-
entityType
The event entity type- Specified by:
entityTypein interfaceAwsEventResponse
-
type
The event type- Specified by:
typein interfaceAwsEventResponse
-
timestamp
The creation type- Specified by:
timestampin interfaceAwsEventResponse
-
taskUuid
The core task uuid- Specified by:
taskUuidin interfaceAwsEventResponse
-
initiatedByUsername
The username of who triggered the event- Specified by:
initiatedByUsernamein interfaceAwsEventResponse
-
initiatedByFullName
The fullname of who triggered the event- Specified by:
initiatedByFullNamein interfaceAwsEventResponse
-
details
The event details message- Specified by:
detailsin interfaceAwsEventResponse
-
contractUuid
AWS EVENT REQUIRED FIELD. This field will always be populated in the response.
The event's related contract uuid.- Specified by:
contractUuidin interfaceAwsEventResponse
-
contractNumber
AWS EVENT REQUIRED FIELD. This field will always be populated in the response.
The event's related contract number.- Specified by:
contractNumberin interfaceAwsEventResponse
-
ipAddress
AWS EVENT REQUIRED FIELD. This field will always be populated in the response.
The IP address of the user who triggered the event.- Specified by:
ipAddressin interfaceAwsEventResponse
-
awsEventType
AWS EVENT REQUIRED FIELD. It's a sublist of the type field. Each one of these types will have a different subset of AWS EVENT OPTIONAL fields that will be populated. The ones not mentioned will show null in the response.|| AWS Account Key Event types:
| S3_STORAGE_ACCOUNT_KEY_CREATE Key Creation: account_id, new_access_key, new_key_description,
| S3_STORAGE_ACCOUNT_KEY_DESCRIPTION_UPDATE Key Description Update: account_id, accessKey, new_key_description,
| S3_STORAGE_ACCOUNT_KEY_ENABLE Key Enable: account_id, accessKey
| S3_STORAGE_ACCOUNT_KEY_DISABLE Key Disable: account_id, accessKey
| S3_STORAGE_ACCOUNT_KEY_ROTATE Key Rotate: account_id, accessKey, new_access_key, new_key_description,
| S3_STORAGE_ACCOUNT_KEY_DELETE Key Delete: account_id, accessKey
|| AWS Account Bucket Event types:
| S3_STORAGE_ACCOUNT_BUCKET_CREATE Bucket creation: account_id, new_bucket_name, new_bucket_object_lock_enabled
| S3_INCREASE_STORAGE : additional_storage, new_storage_reservation, current_monthly_storage_cost, currency, additional_monthly_cost, new_monthly_storage_cost
| S3_STORAGE_ACCOUNT_CREATE : account_name
| S3_STORAGE_ACCOUNT_UPDATE : original_account_name, new_account_name
- Specified by:
awsEventTypein interfaceAwsEventResponse
-
accountId
AWS EVENT OPTIONAL FIELD. See awsEventType field description for more info. The event's related AWS account id- Specified by:
accountIdin interfaceAwsEventResponse
-
accessKey
AWS EVENT OPTIONAL FIELD. See awsEventType field description for more info. The event's related AWS Account Key id- Specified by:
accessKeyin interfaceAwsEventResponse
-
newAccessKey
AWS EVENT OPTIONAL FIELD See awsEventType field description for more info. The event's related AWS Account newly generated Key id- Specified by:
newAccessKeyin interfaceAwsEventResponse
-
newKeyDescription
AWS EVENT OPTIONAL FIELD. See awsEventType field description for more info. The event's related AWS Account key newly generated description.- Specified by:
newKeyDescriptionin interfaceAwsEventResponse
-
newBucketName
AWS EVENT OPTIONAL FIELD. See awsEventType field description for more info. The new S3 bucket name.- Specified by:
newBucketNamein interfaceAwsEventResponse
-
newBucketObjectLockEnabled
AWS EVENT OPTIONAL FIELD. See awsEventType field description for more info. Whether object lock is enabled in the new S3 bucket- Specified by:
newBucketObjectLockEnabledin interfaceAwsEventResponse
-
existingStorageReservation
AWS EVENT OPTIONAL FIELD. See awsEventType field description for more info. The current storage quota in TiB before the increase.- Specified by:
existingStorageReservationin interfaceAwsEventResponse
-
additionalStorage
AWS EVENT OPTIONAL FIELD. See awsEventType field description for more info. The additional storage in TiB being added.- Specified by:
additionalStoragein interfaceAwsEventResponse
-
newStorageReservation
AWS EVENT OPTIONAL FIELD. See awsEventType field description for more info. The new storage reservation in TiB after the increase.- Specified by:
newStorageReservationin interfaceAwsEventResponse
-
currentMonthlyStorageCost
AWS EVENT OPTIONAL FIELD. See awsEventType field description for more info. The current monthly storage cost before the increase.- Specified by:
currentMonthlyStorageCostin interfaceAwsEventResponse
-
currency
AWS EVENT OPTIONAL FIELD. See awsEventType field description for more info. The currency of the storage cost.- Specified by:
currencyin interfaceAwsEventResponse
-
additionalMonthlyStorageCost
AWS EVENT OPTIONAL FIELD. See awsEventType field description for more info. The additional monthly cost incurred by the storage increase.- Specified by:
additionalMonthlyStorageCostin interfaceAwsEventResponse
-
newMonthlyStorageCost
AWS EVENT OPTIONAL FIELD. See awsEventType field description for more info. The new monthly cost after the storage increase.- Specified by:
newMonthlyStorageCostin interfaceAwsEventResponse
-
accountName
AWS EVENT OPTIONAL FIELD. See awsEventType field description for more info. The new account's name.- Specified by:
accountNamein interfaceAwsEventResponse
-
originalAccountName
AWS EVENT OPTIONAL FIELD. See awsEventType field description for more info. The original name of the account before an update.- Specified by:
originalAccountNamein interfaceAwsEventResponse
-
newAccountName
AWS EVENT OPTIONAL FIELD. See awsEventType field description for more info. The new name of the account after an update.- Specified by:
newAccountNamein interfaceAwsEventResponse
-
withUuid
Copy the current immutable object by setting a value for theuuidattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for uuid- Returns:
- A modified copy of the
thisobject
-
withOwnerType
Copy the current immutable object by setting a value for theownerTypeattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for ownerType- Returns:
- A modified copy of the
thisobject
-
withOwnerId
Copy the current immutable object by setting a value for theownerIdattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for ownerId- Returns:
- A modified copy of the
thisobject
-
withEntityUuid
Copy the current immutable object by setting a value for theentityUuidattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for entityUuid- Returns:
- A modified copy of the
thisobject
-
withEntityName
Copy the current immutable object by setting a value for theentityNameattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for entityName- Returns:
- A modified copy of the
thisobject
-
withEntityType
Copy the current immutable object by setting a value for theentityTypeattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for entityType- Returns:
- A modified copy of the
thisobject
-
withType
Copy the current immutable object by setting a value for thetypeattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for type- Returns:
- A modified copy of the
thisobject
-
withTimestamp
Copy the current immutable object by setting a value for thetimestampattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for timestamp- Returns:
- A modified copy of the
thisobject
-
withTaskUuid
Copy the current immutable object by setting a present value for the optionaltaskUuidattribute.- Parameters:
value- The value for taskUuid- Returns:
- A modified copy of
thisobject
-
withTaskUuid
Copy the current immutable object by setting an optional value for thetaskUuidattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for taskUuid- Returns:
- A modified copy of
thisobject
-
withInitiatedByUsername
Copy the current immutable object by setting a value for theinitiatedByUsernameattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for initiatedByUsername- Returns:
- A modified copy of the
thisobject
-
withInitiatedByFullName
Copy the current immutable object by setting a value for theinitiatedByFullNameattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for initiatedByFullName- Returns:
- A modified copy of the
thisobject
-
withDetails
Copy the current immutable object by setting a value for thedetailsattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for details- Returns:
- A modified copy of the
thisobject
-
withContractUuid
Copy the current immutable object by setting a value for thecontractUuidattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for contractUuid- Returns:
- A modified copy of the
thisobject
-
withContractNumber
Copy the current immutable object by setting a value for thecontractNumberattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for contractNumber- Returns:
- A modified copy of the
thisobject
-
withIpAddress
Copy the current immutable object by setting a value for theipAddressattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for ipAddress- Returns:
- A modified copy of the
thisobject
-
withAwsEventType
Copy the current immutable object by setting a value for theawsEventTypeattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for awsEventType- Returns:
- A modified copy of the
thisobject
-
withAccountId
Copy the current immutable object by setting a present value for the optionalaccountIdattribute.- Parameters:
value- The value for accountId- Returns:
- A modified copy of
thisobject
-
withAccountId
Copy the current immutable object by setting an optional value for theaccountIdattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for accountId- Returns:
- A modified copy of
thisobject
-
withAccessKey
Copy the current immutable object by setting a present value for the optionalaccessKeyattribute.- Parameters:
value- The value for accessKey- Returns:
- A modified copy of
thisobject
-
withAccessKey
Copy the current immutable object by setting an optional value for theaccessKeyattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for accessKey- Returns:
- A modified copy of
thisobject
-
withNewAccessKey
Copy the current immutable object by setting a present value for the optionalnewAccessKeyattribute.- Parameters:
value- The value for newAccessKey- Returns:
- A modified copy of
thisobject
-
withNewAccessKey
Copy the current immutable object by setting an optional value for thenewAccessKeyattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for newAccessKey- Returns:
- A modified copy of
thisobject
-
withNewKeyDescription
Copy the current immutable object by setting a present value for the optionalnewKeyDescriptionattribute.- Parameters:
value- The value for newKeyDescription- Returns:
- A modified copy of
thisobject
-
withNewKeyDescription
Copy the current immutable object by setting an optional value for thenewKeyDescriptionattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for newKeyDescription- Returns:
- A modified copy of
thisobject
-
withNewBucketName
Copy the current immutable object by setting a present value for the optionalnewBucketNameattribute.- Parameters:
value- The value for newBucketName- Returns:
- A modified copy of
thisobject
-
withNewBucketName
Copy the current immutable object by setting an optional value for thenewBucketNameattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for newBucketName- Returns:
- A modified copy of
thisobject
-
withNewBucketObjectLockEnabled
Copy the current immutable object by setting a present value for the optionalnewBucketObjectLockEnabledattribute.- Parameters:
value- The value for newBucketObjectLockEnabled- Returns:
- A modified copy of
thisobject
-
withNewBucketObjectLockEnabled
Copy the current immutable object by setting an optional value for thenewBucketObjectLockEnabledattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for newBucketObjectLockEnabled- Returns:
- A modified copy of
thisobject
-
withExistingStorageReservation
Copy the current immutable object by setting a present value for the optionalexistingStorageReservationattribute.- Parameters:
value- The value for existingStorageReservation- Returns:
- A modified copy of
thisobject
-
withExistingStorageReservation
Copy the current immutable object by setting an optional value for theexistingStorageReservationattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for existingStorageReservation- Returns:
- A modified copy of
thisobject
-
withAdditionalStorage
Copy the current immutable object by setting a present value for the optionaladditionalStorageattribute.- Parameters:
value- The value for additionalStorage- Returns:
- A modified copy of
thisobject
-
withAdditionalStorage
Copy the current immutable object by setting an optional value for theadditionalStorageattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for additionalStorage- Returns:
- A modified copy of
thisobject
-
withNewStorageReservation
Copy the current immutable object by setting a present value for the optionalnewStorageReservationattribute.- Parameters:
value- The value for newStorageReservation- Returns:
- A modified copy of
thisobject
-
withNewStorageReservation
Copy the current immutable object by setting an optional value for thenewStorageReservationattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for newStorageReservation- Returns:
- A modified copy of
thisobject
-
withCurrentMonthlyStorageCost
Copy the current immutable object by setting a present value for the optionalcurrentMonthlyStorageCostattribute.- Parameters:
value- The value for currentMonthlyStorageCost- Returns:
- A modified copy of
thisobject
-
withCurrentMonthlyStorageCost
Copy the current immutable object by setting an optional value for thecurrentMonthlyStorageCostattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for currentMonthlyStorageCost- Returns:
- A modified copy of
thisobject
-
withCurrency
Copy the current immutable object by setting a present value for the optionalcurrencyattribute.- Parameters:
value- The value for currency- Returns:
- A modified copy of
thisobject
-
withCurrency
Copy the current immutable object by setting an optional value for thecurrencyattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for currency- Returns:
- A modified copy of
thisobject
-
withAdditionalMonthlyStorageCost
Copy the current immutable object by setting a present value for the optionaladditionalMonthlyStorageCostattribute.- Parameters:
value- The value for additionalMonthlyStorageCost- Returns:
- A modified copy of
thisobject
-
withAdditionalMonthlyStorageCost
Copy the current immutable object by setting an optional value for theadditionalMonthlyStorageCostattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for additionalMonthlyStorageCost- Returns:
- A modified copy of
thisobject
-
withNewMonthlyStorageCost
Copy the current immutable object by setting a present value for the optionalnewMonthlyStorageCostattribute.- Parameters:
value- The value for newMonthlyStorageCost- Returns:
- A modified copy of
thisobject
-
withNewMonthlyStorageCost
Copy the current immutable object by setting an optional value for thenewMonthlyStorageCostattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for newMonthlyStorageCost- Returns:
- A modified copy of
thisobject
-
withAccountName
Copy the current immutable object by setting a present value for the optionalaccountNameattribute.- Parameters:
value- The value for accountName- Returns:
- A modified copy of
thisobject
-
withAccountName
Copy the current immutable object by setting an optional value for theaccountNameattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for accountName- Returns:
- A modified copy of
thisobject
-
withOriginalAccountName
Copy the current immutable object by setting a present value for the optionaloriginalAccountNameattribute.- Parameters:
value- The value for originalAccountName- Returns:
- A modified copy of
thisobject
-
withOriginalAccountName
Copy the current immutable object by setting an optional value for theoriginalAccountNameattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for originalAccountName- Returns:
- A modified copy of
thisobject
-
withNewAccountName
Copy the current immutable object by setting a present value for the optionalnewAccountNameattribute.- Parameters:
value- The value for newAccountName- Returns:
- A modified copy of
thisobject
-
withNewAccountName
Copy the current immutable object by setting an optional value for thenewAccountNameattribute. An equality check is used on inner nullable value to prevent copying of the same value by returningthis.- Parameters:
optional- A value for newAccountName- Returns:
- A modified copy of
thisobject
-
equals
This instance is equal to all instances ofImmutableAwsEventResponsethat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:uuid,ownerType,ownerId,entityUuid,entityName,entityType,type,timestamp,taskUuid,initiatedByUsername,initiatedByFullName,details,contractUuid,contractNumber,ipAddress,awsEventType,accountId,accessKey,newAccessKey,newKeyDescription,newBucketName,newBucketObjectLockEnabled,existingStorageReservation,additionalStorage,newStorageReservation,currentMonthlyStorageCost,currency,additionalMonthlyStorageCost,newMonthlyStorageCost,accountName,originalAccountName,newAccountName. -
toString
Prints the immutable valueAwsEventResponsewith attribute values. -
copyOf
Creates an immutable copy of aAwsEventResponsevalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable AwsEventResponse instance
-
builder
Creates a builder forImmutableAwsEventResponse.ImmutableAwsEventResponse.builder() .uuid(String) // requireduuid.ownerType(com.iland.core.web.rest.response.event.EventOwnerType) // requiredownerType.ownerId(String) // requiredownerId.entityUuid(String) // requiredentityUuid.entityName(String) // requiredentityName.entityType(com.iland.core.web.rest.response.common.EntityTypeResponse) // requiredentityType.type(com.iland.core.web.rest.response.event.EventTypeResponse) // requiredtype.timestamp(java.time.Instant) // requiredtimestamp.taskUuid(String) // optionaltaskUuid.initiatedByUsername(String) // requiredinitiatedByUsername.initiatedByFullName(String) // requiredinitiatedByFullName.details(String) // requireddetails.contractUuid(String) // requiredcontractUuid.contractNumber(String) // requiredcontractNumber.ipAddress(String) // requiredipAddress.awsEventType(com.iland.core.web.rest.response.event.AwsEventTypeResponse) // requiredawsEventType.accountId(String) // optionalaccountId.accessKey(String) // optionalaccessKey.newAccessKey(String) // optionalnewAccessKey.newKeyDescription(String) // optionalnewKeyDescription.newBucketName(String) // optionalnewBucketName.newBucketObjectLockEnabled(Boolean) // optionalnewBucketObjectLockEnabled.existingStorageReservation(Integer) // optionalexistingStorageReservation.additionalStorage(Integer) // optionaladditionalStorage.newStorageReservation(Integer) // optionalnewStorageReservation.currentMonthlyStorageCost(Double) // optionalcurrentMonthlyStorageCost.currency(String) // optionalcurrency.additionalMonthlyStorageCost(Double) // optionaladditionalMonthlyStorageCost.newMonthlyStorageCost(Double) // optionalnewMonthlyStorageCost.accountName(String) // optionalaccountName.originalAccountName(String) // optionaloriginalAccountName.newAccountName(String) // optionalnewAccountName.build();- Returns:
- A new ImmutableAwsEventResponse builder
-