Class ImmutableAwsEventResponse.Builder

java.lang.Object
com.iland.core.web.rest.response.event.ImmutableAwsEventResponse.Builder
Enclosing class:
ImmutableAwsEventResponse

@Generated(from="AwsEventResponse", generator="Immutables") @NotThreadSafe public static final class ImmutableAwsEventResponse.Builder extends Object
Builds instances of type ImmutableAwsEventResponse. Initialize attributes and then invoke the build() method to create an immutable instance.

Builder is not thread-safe and generally should not be stored in a field or collection, but instead used immediately to create instances.

  • Method Details

    • from

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder from(AwsEventResponse instance)
      Fill a builder with attribute values from the provided AwsEventResponse instance. Regular attribute values will be replaced with those from the given instance. Absent optional values will not replace present values.
      Parameters:
      instance - The instance from which to copy values
      Returns:
      this builder for use in a chained invocation
    • uuid

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder uuid(String uuid)
      Initializes the value for the uuid attribute.
      Parameters:
      uuid - The value for uuid
      Returns:
      this builder for use in a chained invocation
    • ownerType

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder ownerType(EventOwnerType ownerType)
      Initializes the value for the ownerType attribute.
      Parameters:
      ownerType - The value for ownerType
      Returns:
      this builder for use in a chained invocation
    • ownerId

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder ownerId(String ownerId)
      Initializes the value for the ownerId attribute.
      Parameters:
      ownerId - The value for ownerId
      Returns:
      this builder for use in a chained invocation
    • entityUuid

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder entityUuid(String entityUuid)
      Initializes the value for the entityUuid attribute.
      Parameters:
      entityUuid - The value for entityUuid
      Returns:
      this builder for use in a chained invocation
    • entityName

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder entityName(String entityName)
      Initializes the value for the entityName attribute.
      Parameters:
      entityName - The value for entityName
      Returns:
      this builder for use in a chained invocation
    • entityType

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder entityType(EntityTypeResponse entityType)
      Initializes the value for the entityType attribute.
      Parameters:
      entityType - The value for entityType
      Returns:
      this builder for use in a chained invocation
    • type

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder type(EventTypeResponse type)
      Initializes the value for the type attribute.
      Parameters:
      type - The value for type
      Returns:
      this builder for use in a chained invocation
    • timestamp

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder timestamp(Instant timestamp)
      Initializes the value for the timestamp attribute.
      Parameters:
      timestamp - The value for timestamp
      Returns:
      this builder for use in a chained invocation
    • taskUuid

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder taskUuid(String taskUuid)
      Initializes the optional value taskUuid to taskUuid.
      Parameters:
      taskUuid - The value for taskUuid
      Returns:
      this builder for chained invocation
    • taskUuid

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder taskUuid(Optional<String> taskUuid)
      Initializes the optional value taskUuid to taskUuid.
      Parameters:
      taskUuid - The value for taskUuid
      Returns:
      this builder for use in a chained invocation
    • initiatedByUsername

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder initiatedByUsername(String initiatedByUsername)
      Initializes the value for the initiatedByUsername attribute.
      Parameters:
      initiatedByUsername - The value for initiatedByUsername
      Returns:
      this builder for use in a chained invocation
    • initiatedByFullName

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder initiatedByFullName(String initiatedByFullName)
      Initializes the value for the initiatedByFullName attribute.
      Parameters:
      initiatedByFullName - The value for initiatedByFullName
      Returns:
      this builder for use in a chained invocation
    • details

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder details(String details)
      Initializes the value for the details attribute.
      Parameters:
      details - The value for details
      Returns:
      this builder for use in a chained invocation
    • contractUuid

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder contractUuid(String contractUuid)
      Initializes the value for the contractUuid attribute.
      Parameters:
      contractUuid - The value for contractUuid
      Returns:
      this builder for use in a chained invocation
    • contractNumber

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder contractNumber(String contractNumber)
      Initializes the value for the contractNumber attribute.
      Parameters:
      contractNumber - The value for contractNumber
      Returns:
      this builder for use in a chained invocation
    • ipAddress

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder ipAddress(String ipAddress)
      Initializes the value for the ipAddress attribute.
      Parameters:
      ipAddress - The value for ipAddress
      Returns:
      this builder for use in a chained invocation
    • awsEventType

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder awsEventType(AwsEventTypeResponse awsEventType)
      Initializes the value for the awsEventType attribute.
      Parameters:
      awsEventType - The value for awsEventType
      Returns:
      this builder for use in a chained invocation
    • accountId

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder accountId(String accountId)
      Initializes the optional value accountId to accountId.
      Parameters:
      accountId - The value for accountId
      Returns:
      this builder for chained invocation
    • accountId

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder accountId(Optional<String> accountId)
      Initializes the optional value accountId to accountId.
      Parameters:
      accountId - The value for accountId
      Returns:
      this builder for use in a chained invocation
    • accessKey

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder accessKey(String accessKey)
      Initializes the optional value accessKey to accessKey.
      Parameters:
      accessKey - The value for accessKey
      Returns:
      this builder for chained invocation
    • accessKey

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder accessKey(Optional<String> accessKey)
      Initializes the optional value accessKey to accessKey.
      Parameters:
      accessKey - The value for accessKey
      Returns:
      this builder for use in a chained invocation
    • newAccessKey

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder newAccessKey(String newAccessKey)
      Initializes the optional value newAccessKey to newAccessKey.
      Parameters:
      newAccessKey - The value for newAccessKey
      Returns:
      this builder for chained invocation
    • newAccessKey

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder newAccessKey(Optional<String> newAccessKey)
      Initializes the optional value newAccessKey to newAccessKey.
      Parameters:
      newAccessKey - The value for newAccessKey
      Returns:
      this builder for use in a chained invocation
    • newKeyDescription

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder newKeyDescription(String newKeyDescription)
      Initializes the optional value newKeyDescription to newKeyDescription.
      Parameters:
      newKeyDescription - The value for newKeyDescription
      Returns:
      this builder for chained invocation
    • newKeyDescription

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder newKeyDescription(Optional<String> newKeyDescription)
      Initializes the optional value newKeyDescription to newKeyDescription.
      Parameters:
      newKeyDescription - The value for newKeyDescription
      Returns:
      this builder for use in a chained invocation
    • newBucketName

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder newBucketName(String newBucketName)
      Initializes the optional value newBucketName to newBucketName.
      Parameters:
      newBucketName - The value for newBucketName
      Returns:
      this builder for chained invocation
    • newBucketName

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder newBucketName(Optional<String> newBucketName)
      Initializes the optional value newBucketName to newBucketName.
      Parameters:
      newBucketName - The value for newBucketName
      Returns:
      this builder for use in a chained invocation
    • newBucketObjectLockEnabled

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder newBucketObjectLockEnabled(boolean newBucketObjectLockEnabled)
      Initializes the optional value newBucketObjectLockEnabled to newBucketObjectLockEnabled.
      Parameters:
      newBucketObjectLockEnabled - The value for newBucketObjectLockEnabled
      Returns:
      this builder for chained invocation
    • newBucketObjectLockEnabled

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder newBucketObjectLockEnabled(Optional<Boolean> newBucketObjectLockEnabled)
      Initializes the optional value newBucketObjectLockEnabled to newBucketObjectLockEnabled.
      Parameters:
      newBucketObjectLockEnabled - The value for newBucketObjectLockEnabled
      Returns:
      this builder for use in a chained invocation
    • existingStorageReservation

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder existingStorageReservation(int existingStorageReservation)
      Initializes the optional value existingStorageReservation to existingStorageReservation.
      Parameters:
      existingStorageReservation - The value for existingStorageReservation
      Returns:
      this builder for chained invocation
    • existingStorageReservation

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder existingStorageReservation(Optional<Integer> existingStorageReservation)
      Initializes the optional value existingStorageReservation to existingStorageReservation.
      Parameters:
      existingStorageReservation - The value for existingStorageReservation
      Returns:
      this builder for use in a chained invocation
    • additionalStorage

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder additionalStorage(int additionalStorage)
      Initializes the optional value additionalStorage to additionalStorage.
      Parameters:
      additionalStorage - The value for additionalStorage
      Returns:
      this builder for chained invocation
    • additionalStorage

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder additionalStorage(Optional<Integer> additionalStorage)
      Initializes the optional value additionalStorage to additionalStorage.
      Parameters:
      additionalStorage - The value for additionalStorage
      Returns:
      this builder for use in a chained invocation
    • newStorageReservation

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder newStorageReservation(int newStorageReservation)
      Initializes the optional value newStorageReservation to newStorageReservation.
      Parameters:
      newStorageReservation - The value for newStorageReservation
      Returns:
      this builder for chained invocation
    • newStorageReservation

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder newStorageReservation(Optional<Integer> newStorageReservation)
      Initializes the optional value newStorageReservation to newStorageReservation.
      Parameters:
      newStorageReservation - The value for newStorageReservation
      Returns:
      this builder for use in a chained invocation
    • currentMonthlyStorageCost

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder currentMonthlyStorageCost(double currentMonthlyStorageCost)
      Initializes the optional value currentMonthlyStorageCost to currentMonthlyStorageCost.
      Parameters:
      currentMonthlyStorageCost - The value for currentMonthlyStorageCost
      Returns:
      this builder for chained invocation
    • currentMonthlyStorageCost

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder currentMonthlyStorageCost(Optional<Double> currentMonthlyStorageCost)
      Initializes the optional value currentMonthlyStorageCost to currentMonthlyStorageCost.
      Parameters:
      currentMonthlyStorageCost - The value for currentMonthlyStorageCost
      Returns:
      this builder for use in a chained invocation
    • currency

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder currency(String currency)
      Initializes the optional value currency to currency.
      Parameters:
      currency - The value for currency
      Returns:
      this builder for chained invocation
    • currency

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder currency(Optional<String> currency)
      Initializes the optional value currency to currency.
      Parameters:
      currency - The value for currency
      Returns:
      this builder for use in a chained invocation
    • additionalMonthlyStorageCost

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder additionalMonthlyStorageCost(double additionalMonthlyStorageCost)
      Initializes the optional value additionalMonthlyStorageCost to additionalMonthlyStorageCost.
      Parameters:
      additionalMonthlyStorageCost - The value for additionalMonthlyStorageCost
      Returns:
      this builder for chained invocation
    • additionalMonthlyStorageCost

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder additionalMonthlyStorageCost(Optional<Double> additionalMonthlyStorageCost)
      Initializes the optional value additionalMonthlyStorageCost to additionalMonthlyStorageCost.
      Parameters:
      additionalMonthlyStorageCost - The value for additionalMonthlyStorageCost
      Returns:
      this builder for use in a chained invocation
    • newMonthlyStorageCost

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder newMonthlyStorageCost(double newMonthlyStorageCost)
      Initializes the optional value newMonthlyStorageCost to newMonthlyStorageCost.
      Parameters:
      newMonthlyStorageCost - The value for newMonthlyStorageCost
      Returns:
      this builder for chained invocation
    • newMonthlyStorageCost

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder newMonthlyStorageCost(Optional<Double> newMonthlyStorageCost)
      Initializes the optional value newMonthlyStorageCost to newMonthlyStorageCost.
      Parameters:
      newMonthlyStorageCost - The value for newMonthlyStorageCost
      Returns:
      this builder for use in a chained invocation
    • accountName

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder accountName(String accountName)
      Initializes the optional value accountName to accountName.
      Parameters:
      accountName - The value for accountName
      Returns:
      this builder for chained invocation
    • accountName

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder accountName(Optional<String> accountName)
      Initializes the optional value accountName to accountName.
      Parameters:
      accountName - The value for accountName
      Returns:
      this builder for use in a chained invocation
    • originalAccountName

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder originalAccountName(String originalAccountName)
      Initializes the optional value originalAccountName to originalAccountName.
      Parameters:
      originalAccountName - The value for originalAccountName
      Returns:
      this builder for chained invocation
    • originalAccountName

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder originalAccountName(Optional<String> originalAccountName)
      Initializes the optional value originalAccountName to originalAccountName.
      Parameters:
      originalAccountName - The value for originalAccountName
      Returns:
      this builder for use in a chained invocation
    • newAccountName

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder newAccountName(String newAccountName)
      Initializes the optional value newAccountName to newAccountName.
      Parameters:
      newAccountName - The value for newAccountName
      Returns:
      this builder for chained invocation
    • newAccountName

      @CanIgnoreReturnValue public final ImmutableAwsEventResponse.Builder newAccountName(Optional<String> newAccountName)
      Initializes the optional value newAccountName to newAccountName.
      Parameters:
      newAccountName - The value for newAccountName
      Returns:
      this builder for use in a chained invocation
    • build

      public ImmutableAwsEventResponse build()
      Returns:
      An immutable instance of AwsEventResponse
      Throws:
      IllegalStateException - if any required attributes are missing