urbanairship-core/src/main/java/com/urbanairship/iam/InAppMessage.java
public InAppMessage build() {
            Checks.checkArgument(!UAStringUtil.isEmpty(id), "Missing ID.");
            Checks.checkArgument(id.length() <= MAX_ID_LENGTH, "Id exceeds max ID length: " + MAX_ID_LENGTH);
            Checks.checkNotNull(type, "Missing type.");
            Checks.checkNotNull(content, "Missing content.");
            return new InAppMessage(this);
        }
/**
         * Builds the in-app message.
         *
         * @return The built in-app message.
         * @throws IllegalArgumentException If the ID is missing, ID length is greater than the {@link #MAX_ID_LENGTH},
         * or if the content is missing.
         */
Builds the in-app message.
@return The built in-app message.
@throws IllegalArgumentException If the ID is missing, ID length is greater than the  #MAX_ID_LENGTH,
or if the content is missing.
Builds the in - app message . @return The built in - app message . @throws IllegalArgumentException If the ID is missing ID length is greater than the #MAX_ID_LENGTH or if the content is missing .
public InAppMessage build() {
            Checks.checkArgument(!UAStringUtil.isEmpty(id), "Missing ID.");
            Checks.checkArgument(id.length() <= MAX_ID_LENGTH, "Id exceeds max ID length: " + MAX_ID_LENGTH);
            Checks.checkNotNull(type, "Missing type.");
            Checks.checkNotNull(content, "Missing content.");
            return new InAppMessage(this);
        }
public InAppMessage build ( ) { Checks . checkArgument ( ! UAStringUtil . isEmpty ( id ) , "Missing ID." ) ; Checks . checkArgument ( id . length ( ) <= MAX_ID_LENGTH , "Id exceeds max ID length: " + MAX_ID_LENGTH ) ; Checks . checkNotNull ( type , "Missing type." ) ; Checks . checkNotNull ( content , "Missing content." ) ; return new InAppMessage ( this ) ; }
Builds the in-app message.
Builds the in - app message .