package com.amplifyframework.storage.options;

import com.amplifyframework.storage.StorageAccessLevel;

/* loaded from: classes4.dex */
abstract class StorageOptions {
    private final StorageAccessLevel accessLevel;
    private final String targetIdentityId;

    /* loaded from: classes4.dex */
    static abstract class Builder<B extends Builder, O extends StorageOptions> {
        private StorageAccessLevel accessLevel;
        private String targetIdentityId;

        @Deprecated
        public final B accessLevel(StorageAccessLevel storageAccessLevel) {
            this.accessLevel = storageAccessLevel;
            return this;
        }

        public abstract O build();

        @Deprecated
        public final StorageAccessLevel getAccessLevel() {
            return this.accessLevel;
        }

        @Deprecated
        public final String getTargetIdentityId() {
            return this.targetIdentityId;
        }

        @Deprecated
        public final B targetIdentityId(String str) {
            this.targetIdentityId = str;
            return this;
        }
    }

    /* JADX INFO: Access modifiers changed from: package-private */
    public StorageOptions(StorageAccessLevel storageAccessLevel, String str) {
        this.accessLevel = storageAccessLevel;
        this.targetIdentityId = str;
    }

    @Deprecated
    public final StorageAccessLevel getAccessLevel() {
        return this.accessLevel;
    }

    @Deprecated
    public final String getTargetIdentityId() {
        return this.targetIdentityId;
    }
}
